There is an IIFE around the plugin.
The IIFE contains several helper functions.
The plugin gets assigned to $.fn.tooltiper
.
- License:
-
- MIT
- Source:
Methods
-
<inner> getSelector()
-
Gets selector string passed to the plugin.
- Source:
Returns:
selector string passed to the plugin.
- Type
- string
-
<inner> init(selector, context, root)
-
Makes possible to get selector string later by attaching it to the jQuery object.
Wrapper around original init() function.Parameters:
Name Type Description selector
string | * selector string.
context
object an object serving as context for selectors search. The match will be searched for in its children instead of the entire page.
root
object usually $(document).
- Source:
Returns:
a jQuery object.
- Type
- object