Class: DocInterceptorService
Defined in: docs/src/services/doc-interceptor/doc-interceptor.service.ts:23
Every render module should implement this interface.
Extends
Implements
Constructors
new DocInterceptorService()
new DocInterceptorService(_context, _docSkeletonManagerService): DocInterceptorService
Defined in: docs/src/services/doc-interceptor/doc-interceptor.service.ts:26
Parameters
Parameter | Type |
---|---|
_context | IRenderContext <DocumentDataModel > |
_docSkeletonManagerService | DocSkeletonManagerService |
Returns
Overrides
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | core/src/shared/lifecycle.ts:96 |
Methods
dispose()
dispose(): void
Defined in: core/src/shared/lifecycle.ts:109
Returns
void
Implementation of
Inherited from
disposeWithMe()
disposeWithMe(disposable): IDisposable
Defined in: core/src/shared/lifecycle.ts:99
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
ensureNotDisposed()
protected ensureNotDisposed(): void
Defined in: core/src/shared/lifecycle.ts:103
Returns
void
Inherited from
fetchThroughInterceptors()
fetchThroughInterceptors<T, C>(name): (initValue, initContext) => Nullable<T>
Defined in: docs/src/services/doc-interceptor/doc-interceptor.service.ts:76
Type Parameters
Type Parameter |
---|
T |
C |
Parameters
Parameter | Type |
---|---|
name | IInterceptor <T , C > |
Returns
Function
Parameters
Parameter | Type |
---|---|
initValue | Nullable <T > |
initContext | C |
Returns
Nullable
<T
>
intercept()
intercept<T>(name, interceptor): IDisposable
Defined in: docs/src/services/doc-interceptor/doc-interceptor.service.ts:60
Type Parameters
Type Parameter |
---|
T extends IInterceptor <any , any > |
Parameters
Parameter | Type |
---|---|
name | T |
interceptor | T |
Returns
interceptDocumentViewModel()
interceptDocumentViewModel(viewModel): DisposableCollection
Defined in: docs/src/services/doc-interceptor/doc-interceptor.service.ts:82
Parameters
Parameter | Type |
---|---|
viewModel | DocumentViewModel |