Class: WatermarkService
Defined in: watermark/src/services/watermark.service.ts:23
Extends
Constructors
new WatermarkService()
new WatermarkService(_localStorageService): WatermarkService
Defined in: watermark/src/services/watermark.service.ts:29
Parameters
Parameter | Type |
---|---|
_localStorageService | ILocalStorageService |
Returns
Overrides
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | core/src/shared/lifecycle.ts:96 |
refresh$ | readonly | Observable <number > | undefined | - | watermark/src/services/watermark.service.ts:27 |
updateConfig$ | readonly | Observable <Nullable <IWatermarkConfigWithType >> | undefined | - | watermark/src/services/watermark.service.ts:25 |
Methods
deleteWatermarkConfig()
deleteWatermarkConfig(): void
Defined in: watermark/src/services/watermark.service.ts:45
Returns
void
dispose()
dispose(): void
Defined in: watermark/src/services/watermark.service.ts:54
Returns
void
Overrides
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
getWatermarkConfig()
getWatermarkConfig(): Promise<
| null
| IWatermarkConfigWithType>
Defined in: watermark/src/services/watermark.service.ts:35
Returns
Promise
<
| null
| IWatermarkConfigWithType
>
refresh()
refresh(): void
Defined in: watermark/src/services/watermark.service.ts:50
Returns
void
updateWatermarkConfig()
updateWatermarkConfig(config): void
Defined in: watermark/src/services/watermark.service.ts:40
Parameters
Parameter | Type |
---|---|
config | IWatermarkConfigWithType |
Returns
void