@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

WebURLService

Overrides

RxDisposable.constructor

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseRxDisposable._disposedsubmodules/univer/packages/core/src/shared/lifecycle.ts:96
dispose$protectedSubject<void>undefinedRxDisposable.dispose$submodules/univer/packages/core/src/shared/lifecycle.ts:120
urlChange$readonlyObservable<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

RxDisposable.dispose


disposeWithMe()

disposeWithMe(disposable): IDisposable

Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:99

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

RxDisposable.disposeWithMe


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

ParameterType
keystring

Returns

undefined | string

Implementation of

IURLService.getParam


removeParam()

removeParam(key, useReplace): void

Defined in: packages/collaboration-client-ui/src/services/url/web-url.service.ts:30

Parameters

ParameterTypeDefault value
keystringundefined
useReplacebooleanfalse

Returns

void

Implementation of

IURLService.removeParam


setParam()

setParam(
   key, 
   value, 
   useReplace): void

Defined in: packages/collaboration-client-ui/src/services/url/web-url.service.ts:20

Parameters

ParameterTypeDefault value
keystringundefined
valuestringundefined
useReplacebooleanfalse

Returns

void

Implementation of

IURLService.setParam