ui-libraries/material/docs/src/content/docs/components/scroll_view.mdx
import CodeSnippetMD from '@slint/common-files/src/components/CodeSnippetMD.astro'; import SlintProperty from '@slint/common-files/src/components/SlintProperty.astro';
<CodeSnippetMD imagePath="" noScreenShot scale="3" imageWidth="300" imageHeight="200" imageAlt=""> ```slint import { ScrollView } from "@material"; export component Example inherits Window { width: 300px; height: 200px; background: transparent; ScrollView { width: 280px; height: 180px; } } ``` </CodeSnippetMD>A ScrollView provides scrolling functionality for content that exceeds the available space, with optional scroll bars.
Invoked when the content is scrolled.