Applet (20) slider component details, Applet slider
Slider slide components are not used too much. I do not use many slider components on other platforms.
Main attributes:
Wxml
<slider max="100" step="10" show-value="true" bindchange="listenerSlider"/>
Js
Page ({data: {// text: "This is a Page"},/*** listen to slider */listenerSlider: function (e) {// obtain the sliding value console. log (e. detail. value) ;}, onLoad: function (options) {// parameters brought about by page navigation during page initialization options}, onReady: function () {// page rendering completed }, onShow: function () {// page display}, onHide: function () {// page hide}, onUnload: function () {// page close }})
Related Articles:
Hello WeApp icon component
Window text Component switch component
Tabss component action-sheet
Application lifecycle button Component modal component
Page lifecycle checkbox component toast component
Modular Details form component details loading component
Data Binding input component navigator component
View component picker component audio component
Scroll-view component radio component video component
Swiper component slider component Image component