- angular-http-cache-interceptor.git
- src
- app
- default
- bootstrap
- bootstrap.component.ts
This file ( 992B ) exceeds the allowed full mode (48 kb) size.
The editor full hight is disabled, only scrolling is allowed..
If you wish to edit a file, it is recommended to use the scroll mode as some users do not like the full height
mode, although some users like it.
import { Component, OnInit } from '@angular/core';
import {HighlightService} from "../../common/highlight.service";
import { DefaultComponentComponent } from '../../common/default-component/default-component.component';
import { MatDividerModule } from '@angular/material/divider';
@Component({
selector: 'p3x-bootstrap-default',
templateUrl: './bootstrap.component.html',
styleUrls: ['./bootstrap.component.scss'],
standalone: true,
imports: [MatDividerModule, DefaultComponentComponent]
})
export class BootstrapComponent implements OnInit {
defaultSettings: string
constructor(private service: HighlightService) { }
ngOnInit(): void {
this.defaultSettings = this.service.hljs.highlight(
`import { P3XHttpCacheInterceptorModule } from 'p3x-angular-http-cache-interceptor';
@NgModule({
declarations: [],
imports: [
P3XHttpCacheInterceptorModule,
CommonModule,
]
})
export class DefaultModule { }`, { language: 'typescript'}).value
}
}