Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 539 Bytes

README.md

File metadata and controls

24 lines (18 loc) · 539 Bytes

TUS.Marker

TUS.Marker is jquery plugin to highlight word within content. coffee for me?

Plugin Parameters

  1. text - keyword to highlighted.
  2. css - define class name for css purpose.
  3. caseSensitive - to control case sensitive during search. default true.
  4. inWord - to find keyword within string. default false.

Sample Code

Sample code as below.

$('#content').tusmarker({
	text:  "as",
	css:  "highlight",
	caseSensitive:  true,
	inWord:  false,
});