Web Component: j-Tooltip
j-Tooltip
- singleton
- universal usage
- NEW hide (
SETTER('tooltip', 'hide', [force])
) now supports theforce
parameter for instant hide.
METHODS
var opt = {};
// opt.offsetX {Number} : adds X offset (default: 0)
// opt.offsetY {Number} : adds Y offset (default: 0)
// opt.align {String} : align `bottom` (default), `top`, `left` or `right`
// opt.center {Boolean} : centered position for `left` and `right` align (default: false)
// opt.timeout {Number} : hide timeout (in milliseconds), default: `undefined`
opt.element = YOUR_ELEMENT;
opt.html = 'YOUR_HTML_CONTENT';
SETTER('tooltip', 'show', opt);
Author
- Peter Širka petersirka@gmail.com
- License
Created
20. october 2016
Updated
21. january 2023
Version
v1
License
https://www.totaljs.com/license/
Dark mode
Yes
Responsive
Yes
Author
Peter Širka
Email
petersirka@gmail.com