When Angular suggests(I guess so) to use Renderer2 and not directly access your HTML DOM, doesn't that future proof law or whatever we call that, applies to this code.
Is there any other way if we had to do it reactively and not template wise, at least add some custom code in between like "event.preventDefault()"
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Need 1 help to understand guys.
When Angular suggests(I guess so) to use Renderer2 and not directly access your HTML DOM, doesn't that future proof law or whatever we call that, applies to this code.
Is there any other way if we had to do it reactively and not template wise, at least add some custom code in between like "event.preventDefault()"