your recipe card header background

    Angular Directive

    0

    0

    lucycodes42

    Angular snippets for TypeScript

    The @Directive annotation is used to indicate that the class contains a directive. The selector is used to identify the directive.

    Library: angular

    Shortcut: a_directive

    import { Directive } from '@angular/core';
    
    @Directive({ selector: '[selector-name]' })
    export class NameDirective {
      constructor() { }
    }
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Explore
    • Cookbooks
    • Playground
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.