Skip to content

PetrosKalafatidis/highlight-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

highlight-search

An angularjs filter for highlighting text in a filtered input string.

In the controller

$scope.inputString = 'Some test text to highlight';

$scope.someString = 'test';

In the view

 <span ng-bind-html="inputString | highlight: someString"></span>

In the stylsheet

.pi-highlighted {

}

About

An angularjs filter for highlighting text in a string.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published