<viewpager>
Full-width pages the user swipes between horizontally, like a carousel or an onboarding flow.
Usage
src/app/onboarding.ts
Import LYNX_ELEMENTS in your component (see Elements).
Attributes
Plus the common attributes, such as id, class and style.
Events
Read the payload from $event.detail (see Handling taps and events).
Plus the common events, such as bindtap.
Methods
This UI method (Glossary) changes the page from code. Call it with invoke() on the element (see Call element methods).
Children
Wrap each page in a <viewpager-item>. Every direct child must be one.
Related
<scroll-coordinator>: tabs of lists under a collapsing header- Tabs: a UI component for switching views
- Call element methods
