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>

18 lines (15 loc) 862 B
import * as i0 from '@angular/core'; import { Signal } from '@angular/core'; import { SafeHtml, DomSanitizer } from '@angular/platform-browser'; import { NgDocHighlighterService } from '@ng-doc/app/services'; declare class NgDocCodeHighlighterDirective { code: i0.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>; } export { NgDocCodeHighlighterDirective };