Toggle navigation
P3X GitList Snapshot
GitHub
Repo
Changelog
To do
Releases
Themes
Change log
Loading change log ...
To do ...
Loading todo ...
browsing:
2143562a98bedb467ac69aaad3f3da861791c4ee
Branches
master
Files
Commits
Log
Graph
Stats
angular-http-cache-interceptor.git
src
app
cache
bootstrap
bootstrap.component.ts
RSS
Git
Fetch origin
Download
ZIP
TAR
Clone
Raw
View
History
Clone
SSH
HTTPS
Blames found: 14
Mode: application/typescript
Binary: false
Hang on, we reloading big blames...
248ac3a3
import { Component, OnInit } from '@angular/core';
18d9f050
import {HighlightService} from "../../common/highlight.service";
4362659f
import { DefaultComponentComponent } from '../../common/default-component/default-component.component'; import { MatDividerModule } from '@angular/material/divider';
248ac3a3
@Component({
4362659f
selector: 'p3x-bootstrap-cache', templateUrl: './bootstrap.component.html', styleUrls: ['./bootstrap.component.scss'], standalone: true, imports: [MatDividerModule, DefaultComponentComponent]
248ac3a3
}) export class BootstrapComponent implements OnInit { defaultSettings: string
18d9f050
constructor(private service: HighlightService) { }
248ac3a3
ngOnInit(): void {
18d9f050
4362659f
this.defaultSettings = this.service.hljs.highlight(
18d9f050
`import { P3XHttpCacheInterceptorModule, CachingHeaders, CachingStore } from 'p3x-angular-http-cache-interceptor';
248ac3a3
@NgModule({ declarations: [], imports: [ P3XHttpCacheInterceptorModule.forRoot({ behavior: CachingHeaders.Cache, store: CachingStore.Global, }), CommonModule ] })
4362659f
export class NonCacheModule { }`, { language: 'typescript'}).value
248ac3a3
} }