@scoped-vaadin/scroller
v23.4.100
Published
vaadin-scroller
Downloads
19
Maintainers
Readme
@scoped-vaadin/scroller
This component is based on @vaadin/scroller
A component container for creating scrollable areas in the UI.
<vaadin23-scroller scroll-direction="vertical">
<section>
<h3>Personal information</h3>
<vaadin23-text-field label="First name"></vaadin23-text-field>
<vaadin23-text-field label="Last name"></vaadin23-text-field>
<vaadin23-date-picker label="Birth date"></vaadin23-date-picker>
</section>
<section>
<h3>Employment information</h3>
<vaadin23-text-field label="Position"></vaadin23-text-field>
<vaadin23-text-area label="Additional information"></vaadin23-text-area>
</section>
</vaadin23-scroller>
Installation
Install the component:
npm i @scoped-vaadin/scroller
Once installed, import the component in your application:
import '@scoped-vaadin/scroller';
Themes
Vaadin components come with two built-in themes, Lumo and Material. The main entrypoint of the package uses the Lumo theme.
To use the Material theme, import the component from the theme/material
folder:
import '@scoped-vaadin/scroller/theme/material/vaadin-scroller.js';
You can also import the Lumo version of the component explicitly:
import '@scoped-vaadin/scroller/theme/lumo/vaadin-scroller.js';
Finally, you can import the un-themed component from the src
folder to get a minimal starting point:
import '@scoped-vaadin/scroller/src/vaadin-scroller.js';
Contributing
Read the contributing guide to learn about our development process, how to propose bugfixes and improvements, and how to test your changes to Vaadin components.
License
Apache License 2.0
Vaadin collects usage statistics at development time to improve this product. For details and to opt-out, see https://github.com/vaadin/vaadin-usage-statistics.