@univerjs-pro/collaboration-client-ui v0.5.4
Class: WebURLService
Defined in: packages/collaboration-client-ui/src/services/url/web-url.service.ts:7
This service reads the url from the host platform and return url parts, such as queries, hashes and path.
Extends
Implements
Constructors
new WebURLService()
new WebURLService(): WebURLService
Defined in: packages/collaboration-client-ui/src/services/url/web-url.service.ts:10
Returns
Overrides
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | RxDisposable ._disposed | submodules/univer/packages/core/src/shared/lifecycle.ts:96 |
dispose$ | protected | Subject <void > | undefined | RxDisposable .dispose$ | submodules/univer/packages/core/src/shared/lifecycle.ts:120 |
urlChange$ | readonly | Observable <void > | undefined | - | packages/collaboration-client-ui/src/services/url/web-url.service.ts:8 |
Methods
dispose()
dispose(): void
Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:122
Returns
void
Inherited from
disposeWithMe()
disposeWithMe(disposable): IDisposable
Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:99
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
ensureNotDisposed()
protected ensureNotDisposed(): void
Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:103
Returns
void
Inherited from
RxDisposable
.ensureNotDisposed
getParam()
getParam(key): undefined | string
Defined in: packages/collaboration-client-ui/src/services/url/web-url.service.ts:41
Parameters
Parameter | Type |
---|---|
key | string |
Returns
undefined
| string
Implementation of
removeParam()
removeParam(key, useReplace): void
Defined in: packages/collaboration-client-ui/src/services/url/web-url.service.ts:30
Parameters
Parameter | Type | Default value |
---|---|---|
key | string | undefined |
useReplace | boolean | false |
Returns
void
Implementation of
setParam()
setParam(
key,
value,
useReplace): void
Defined in: packages/collaboration-client-ui/src/services/url/web-url.service.ts:20
Parameters
Parameter | Type | Default value |
---|---|---|
key | string | undefined |
value | string | undefined |
useReplace | boolean | false |
Returns
void