weex
weex copied to clipboard
[H5]Slider component perform error if did't set 'interval' and 'auto-play' attr
Slider component perform error if did't set 'interval' and 'auto-play' attributes. Just the moment i scroll the slider, it runs auto unexpectedly.
PS:Slider component can't used as root component.
Hi,
The slider should not be used as a root component, and the root candidates contain div (container), list and scroller. If there is only a slider component in the page, just wrap it with a div as the page root.
The default value of auto-play should be false indeed. See Pull Request #320