Class: HighlightWidget

PR. HighlightWidget

Singleton Highlight Widget class

Source:
  • core/HighlightWidget.js, line 22

Methods

<static> highlightAll( str )

Highlights any text that matches the string passed to it

Parameters:
Name Type Description
str String

the string to match to

Source:
  • core/HighlightWidget.js, line 81

<static> initialize( )

Acts like a constructor, this function triggered by when PR.Core initialises.

Source:
  • core/HighlightWidget.js, line 40

<static> unhighlightAll( )

Unhighlights any previously placed highlights in the HTML

Source:
  • core/HighlightWidget.js, line 124
Top