@jusliong wrote:
Hi, I am looking for ways to create a search bar which has function like browser’s find, but my target platform is Android platform.
(For this I am not using any ionic UI components)
For which I have successfully created a search bar with a text input using
<input type="text" placeholder="Search">
and the matched letters are highlighted by assigning a background-color style to the matched cases with DOM Sanitizer:
However, I would like to add a Next/Prev function that would allow jumping to the location of next occurrence of such pattern.
Just like what is offered in Chrome withCtrl + F
So far the answers I have found are all using jQuery, so I am curious if there is any Angular-Ionic solution to this.
Posts: 1
Participants: 1