"Fossies" - the Fresh Open Source Software Archive

Member "angular-8.2.14/aio/content/examples/dynamic-component-loader/src/app/ad.directive.ts" (13 Nov 2019, 208 Bytes) of package /linux/www/angular-8.2.14.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) TypeScript source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 // #docregion
    2 import { Directive, ViewContainerRef } from '@angular/core';
    3 
    4 @Directive({
    5   selector: '[ad-host]',
    6 })
    7 export class AdDirective {
    8   constructor(public viewContainerRef: ViewContainerRef) { }
    9 }
   10