Toggle navigation
P3X GitList Snapshot
GitHub
Repo
Changelog
To do
Releases
Themes
Change log
Loading change log ...
To do ...
Loading todo ...
browsing:
346264cd6b72d6be63bdae1b5b484307b019784e
Branches
master
Files
Commits
Log
Graph
Stats
angular-http-cache-interceptor.git
src
app
non-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-non-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 {
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.NoCache, store: CachingStore.Global, }), CommonModule ] })
4362659f
export class NonCacheModule { }`, { language: 'typescript'}).value
18d9f050
248ac3a3
} }