Option to scroll to the top of the page. Also (optionally) trigger an action on pull down.
Add your own arrow icon to the widget. Set a pull down action (optional). Set a background color for the scroll to top button.
A simple container widget containing a ScrollView and the ability to place widgets inside it. This widget is intended to be used at the highest level of the page and all content of the page to be placed inside.
All content inside will be a part of the scrollable to top area and can be pulled down to refresh.
Development and contribution
- Install NPM package dependencies by using:
npm install. If you use NPM v7.x.x, which can be checked by executing
npm -v, execute:
npm install --legacy-peer-deps.
npm startto watch for code changes. On every change:
- the widget will be bundled;
- the bundle will be included in a
distfolder in the root directory of the project;
- the bundle will be included in the
widgetsfolder of the Mendix test project.