DEV Community

loading...

Discussion on: Highlight text in paragraphs with a simple directive in Angular

Collapse
adisreyaj profile image
Adithya Sreyaj Author

Yup...if there is nested tags, we may need to either provide the text content as input or maybe pass a selector for the text element as input.