1.0.83 • Published 3 years ago
@iwux/sticky v1.0.83
usage
{ "usingComponents": { "wux-sticky": "@iwux/sticky", "wux-sticky-item": "@iwux/sticky/sticky-item", "wux-sticky-indicator": "@iwux/sticky/indicator" } }
Page({ data: { scrollTop: 0, items: 'ABCDEFGHIJKLMNOPQRSTUVWSYZ'.split(''), }, onPageScroll(e) { this.setData({ scrollTop: e.scrollTop, }); }, onStick(e) { console.log('onStick', e.detail); }, onUnStick(e) { console.log('onUnStick', e.detail); }, });
1.0.83
3 years ago