We will create a common directive first with @Input property to receive true or false conditionally to add and remove the CSS class accordingly, as we use the directive to extend the HTML functionality.
source https://www.c-sharpcorner.com/Blogs/angular-reusable-loader-directive
No comments:
Post a Comment