UNPKG

@ng-doc/app

Version:

<!-- PROJECT LOGO --> <br /> <div align="center"> <a href="https://github.com/ng-doc/ng-doc"> <img src="https://ng-doc.com/assets/images/ng-doc.svg?raw=true" alt="Logo" height="150px"> </a>

15 lines (14 loc) 846 B
import { Signal } from '@angular/core'; import { DomSanitizer, SafeHtml } from '@angular/platform-browser'; import { NgDocHighlighterService } from '@ng-doc/app/services'; import * as i0 from "@angular/core"; export declare class NgDocCodeHighlighterDirective { code: import("@angular/core").InputSignal<string>; protected readonly highlightedCode: Signal<SafeHtml>; protected readonly element: any; protected readonly highlighter: NgDocHighlighterService; protected readonly sanitizer: DomSanitizer; constructor(); static ɵfac: i0.ɵɵFactoryDeclaration<NgDocCodeHighlighterDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<NgDocCodeHighlighterDirective, "[ngDocHighlighter]", never, { "code": { "alias": "ngDocHighlighter"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>; }