Keyword highlighting features
- Source:
- highlightnav.js
Methods
-
generate()
-
Generate index of highlights
- Source:
- highlightnav.js
-
navigate(type, dir)
-
Navigate elements
Parameters:
Name Type Description type
string The highlight type to target
dir
string The direction (prev or next)
- Source:
- highlightnav.js
Returns:
success
- Type
- boolean
-
updateIndex(e)
-
Update current index to specified element
Parameters:
Name Type Description e
DOMEvent DOM Event
- Source:
- highlightnav.js