Scroll­View component with overflow indicator

Alexander Martin

This document shows how to extend the ScrollView component with an "overflow" indicator. The indicator is automatically shown as soon as the ScrollView component can be scrolled, for this a small "workaround" is used. In the onMount handler we try to programmatically trigger an onScroll event, as soon as the event is triggered we show our indicator.

All important parts have been commented in the APL document.

Comments

Be the first to comment.