Scroll
Scroll is a non-flexboxed scroll area that can scroll horizontally or vertically. ion-Scroll
Can be used in places were you may not need a full page scroller, but a highly customized one, such as image scubber or comment scroller.
Component
selector: ion-scroll
Usage
<ion-scroll scrollX="true">
</ion-scroll>
<ion-scroll scrollY="true">
</ion-scroll>
<ion-scroll scrollX="true" scrollY="true">
</ion-scroll>
Attributes:
Attribute | Type | Description |
---|---|---|
scrollX | boolean | whether to enable scrolling along the X axis |
scrollY | boolean | whether to enable scrolling along the Y axis |
zoom | boolean | whether to enable zooming |
maxZoom | number | set the max zoom amount for ion-scroll |