API
Popping #
Argument Argument | Type Type | Default Default | Description Description |
---|---|---|---|
Popping.create( | |||
target | element | node | - | the element you want to place your dialog. |
dialog | element | node | - | it is the element of tooltip dialog suppose to be pops next to the target. |
options | object | - | the options of the popping |
) |
Popping Methods #
Method Method | Return Return | Default Default | Description Description |
---|---|---|---|
Instance.updatePosition | void | - | it is use to update the position of the tooltip dialog. |
Instance.updateOptions | void | - | it is use to update options. |
Instance.destroy | void | - | it is use to destroy and kill the eventListeners. |