Categories
Angular Opinions Tutorials

Narrow Type Angular Directive

Imagine we have directive that customizes the checkbox color and interaction.

import { Directive } from '@angular/core';

@Directive({
  selector: '[tsn-checkbox]',
})
export class TnbCheckbox {  
}

We want to make our checkbox checked base on certain condition.

I know we can use accent-color to change the

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.