ARIA TOOLTIP GENERATOR
Extremly small jQuery plugin extension for aria-tooltip.js to dinamically inject tooltips in the markup.
Get aria-tooltip.js at https://github.com/DavideTriso/aria-tooltip.
Dependencies
jQuery aria-tooltip.js
Settings / Options
Name | Default | Type | Description | Required or optional |
---|---|---|---|---|
tooltipClass | 'tooltip', | string | Class added to the tooltip element | optional |
tooltipIdPrefix | 'aria-tt-g-' | string | Prefix used to generate the tooltip's id | optional |
tooltipText | '' | string | Text to be inserted in the tooltip | required |
Usage
- Include the JS script aria-tooltip-generator.js - or the minified production script aria-tooltip-generator.min.js- in the head or the body of your HTML file.
- Initialise the widget within an inline script tag, or in an external JS file.
Example
;
LICENSE
This project is licensed under the terms of the MIT license.
See LICENSE.md for detailed informations.