@univerjs-pro/collaboration-client v0.5.0-beta.1 • Docs
Class: WebURLService
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
Returns
Overrides
Defined in
packages/collaboration-client/src/services/url/web-url.service.ts:10
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | RxDisposable ._disposed | submodules/univer/packages/core/src/shared/lifecycle.ts:93 |
dispose$ | protected | Subject <void > | undefined | RxDisposable .dispose$ | submodules/univer/packages/core/src/shared/lifecycle.ts:117 |
urlChange$ | readonly | Observable <void > | undefined | - | packages/collaboration-client/src/services/url/web-url.service.ts:8 |
Methods
dispose()
dispose(): void
Returns
void
Inherited from
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:119
disposeWithMe()
disposeWithMe(disposable): IDisposable
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:96
ensureNotDisposed()
protected ensureNotDisposed(): void
Returns
void
Inherited from
RxDisposable
.ensureNotDisposed
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:100
getParam()
getParam(key): undefined | string
Parameters
Parameter | Type |
---|---|
key | string |
Returns
undefined
| string
Implementation of
IURLService
.getParam
Defined in
packages/collaboration-client/src/services/url/web-url.service.ts:41
removeParam()
removeParam(key, useReplace): void
Parameters
Parameter | Type | Default value |
---|---|---|
key | string | undefined |
useReplace | boolean | false |
Returns
void
Implementation of
IURLService
.removeParam
Defined in
packages/collaboration-client/src/services/url/web-url.service.ts:30
setParam()
setParam(
key,
value,
useReplace): void
Parameters
Parameter | Type | Default value |
---|---|---|
key | string | undefined |
value | string | undefined |
useReplace | boolean | false |
Returns
void
Implementation of
IURLService
.setParam
Defined in
packages/collaboration-client/src/services/url/web-url.service.ts:20