draggable-button
v1.0.0
Published
悬浮按钮
Downloads
5
Readme
接入
install
tnpm install draggable-button
Simple Usage
let DraggableBtton = require('draggable-button');
let props = {
padx: 10,
padTop: 10,
padBottom: 10
}
<DraggableButton ...{props}>
<div id="draggableButton" ref="draggableButton" className="draggableButton" draggable onClick={t.onClickHandle.bind(t)}>
<div dangerouslySetInnerHTML={{__html: htServer}}></div>
</div>
</DraggableButton>