1.3.0
- Add a configuration option to disallow a tooltip to close by normal mouse/keyboard events.
This should only be used if you're going to close a tooltip programmatically. There are two ways to set this option.
- On the trigger element. Set the
data-tooltip-autoclose
attribute to false. - Programmatically. When calling
isotip.open()
, setautoClose
to false in the options object.
Additionally,
- A class name can be added by passing
className
toopen
, or settingdata-tooltip-classname
- Fixed a bug where clicking a child element in a tooltip would close the tooltip
- Fixed tests so they actually run properly