Monday 31 December 2018

Is there an easy way to overwrite base directive?

I'm looking for the simple way to overwrite behaviour of directives provided out of box, for example ngIf

So I can make a child directive and extend the behaviour and after declare as a native one.

P.S.: I know that overwriting standard functionality is VERY BAD practice, but I'm doing it just for study/research purposes.



from Is there an easy way to overwrite base directive?

No comments:

Post a Comment