3 posts about Custom Attribute Directive by 2 contributors.
Know Custom Attribute Directive? Share what you know with developers who are learning it.
In this session, I will show you how we can change the appearance such as text color, background color and font size of a body of an HTML element using custom attribute directive.
Learn how to create custom Angular 6 attribute directives that change host element styles using ElementRef, @Input, and @HostListener mouse events.
In this article, I am going to explain that how can we create directives as per our requirement. We also study that how can we format a credit card number using the custom directive in this article.
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only16days leftRegisterPublish an article in this category and earn +1,000 SHARP when it is approved.
Write an article