h3l
h3l
添加安装环境以及安装方法。
如标题所示, Slider的autoplay设置为false,但是鼠标在移动到组件上,再移出组件后会继续自动播放,此处设计不合理。 检查代码之后发现 https://github.com/amazeui/amazeui-react/blob/master/src/Slider.js#L145-L149 中,如果isPaused是true,直接播放轮播, 应该换成 ``` if(this.isPaused && (!this.props.autoPlay)){ this.play(); } ``` 比较合理
# Question The demo use **componentDidMount** to configure the node like below: ``` javascript componentDidMount: function() { // ScrollView RCTRefreshControl.configure({ node: this.refs[SCROLLVIEW], tintColor: '#05A5D1', activityIndicatorViewColor: '#05A5D1' }, () => {...
This PR provides two functions, `GenNewSubCtx` and `GetRunIDParentIDFromCtx`. `GenNewSubCtx` is used to generate a new sub-context, with the new context's run id and parent id based on the original context....