source: trip-planner-front/node_modules/primeng/fesm2015/primeng-codehighlighter.mjs@ 1ad8e64

Last change on this file since 1ad8e64 was 59329aa, checked in by Ema <ema_spirova@…>, 3 years ago

adding photos

  • Property mode set to 100644
File size: 2.2 KB
RevLine 
[59329aa]1import * as i0 from '@angular/core';
2import { Directive, NgModule } from '@angular/core';
3import { CommonModule } from '@angular/common';
4
5class CodeHighlighter {
6 constructor(el) {
7 this.el = el;
8 }
9 ngAfterViewInit() {
10 if (window['Prism']) {
11 window['Prism'].highlightElement(this.el.nativeElement);
12 }
13 }
14}
15CodeHighlighter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: CodeHighlighter, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
16CodeHighlighter.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.0", type: CodeHighlighter, selector: "[pCode]", host: { classAttribute: "p-element" }, ngImport: i0 });
17i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: CodeHighlighter, decorators: [{
18 type: Directive,
19 args: [{
20 selector: '[pCode]',
21 host: {
22 'class': 'p-element'
23 }
24 }]
25 }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
26class CodeHighlighterModule {
27}
28CodeHighlighterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: CodeHighlighterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
29CodeHighlighterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: CodeHighlighterModule, declarations: [CodeHighlighter], imports: [CommonModule], exports: [CodeHighlighter] });
30CodeHighlighterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: CodeHighlighterModule, imports: [[CommonModule]] });
31i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: CodeHighlighterModule, decorators: [{
32 type: NgModule,
33 args: [{
34 imports: [CommonModule],
35 exports: [CodeHighlighter],
36 declarations: [CodeHighlighter]
37 }]
38 }] });
39
40/**
41 * Generated bundle index. Do not edit.
42 */
43
44export { CodeHighlighter, CodeHighlighterModule };
Note: See TracBrowser for help on using the repository browser.