Search Posts

loader for every event action of a particular page ( life cycle of all events)

I want to show/hide a loader while doing every event action on a particular screen. I know we can do it manually by using show/hide on a function of the event. I have tried it but I don’t want that for no reusability

So I am expecting a common function that would be hit for every event (click,change,hover,blur,.....all) action in a particular page. So I can easily load the loader for a particular event if I want. Any idea about the life cycle of all events?

May this is too broad. but I hope it would help other peoples.

Source: AngularJS

Leave a Reply

Your email address will not be published. Required fields are marked *