draggable-button

1.0.0 • Public • Published

接入

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>

Props

APIs

Links

Readme

Keywords

Package Sidebar

Install

npm i draggable-button

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • yb121