MiniApps Web Components - Examples

scroll-view MiniApp Component

Example of component simulating a scroll-view component:

<scroll-view scroll-y="true" scroll-top="0" 
        onScrollToLower="lower" scroll-into-view="red">
    <div id="blue" class="scroll-view-item"></div>
    <div id="red" class="scroll-view-item"></div>
    <div id="green" class="scroll-view-item"></div>
    <div id="purple" class="scroll-view-item"></div>
</scroll-view>