@univerjssheets-hyper-link-uiindexclassesSheetshyperlinksidepanelservice

@univerjs/sheets-hyper-link-ui v0.5.0-beta.1Docs


Class: SheetsHyperLinkSidePanelService

Extends

Constructors

new SheetsHyperLinkSidePanelService()

new SheetsHyperLinkSidePanelService(): SheetsHyperLinkSidePanelService

Returns

SheetsHyperLinkSidePanelService

Inherited from

Disposable.constructor

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseDisposable._disposedcore/src/shared/lifecycle.ts:93

Methods

dispose()

dispose(): void

Returns

void

Overrides

Disposable.dispose

Defined in

sheets-hyper-link-ui/src/services/side-panel.service.ts:73


disposeWithMe()

disposeWithMe(disposable): IDisposable

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe

Defined in

core/src/shared/lifecycle.ts:96


ensureNotDisposed()

protected ensureNotDisposed(): void

Returns

void

Inherited from

Disposable.ensureNotDisposed

Defined in

core/src/shared/lifecycle.ts:100


findCustomHyperLink(link): undefined | ICustomHyperLinkView

Parameters

ParameterType
linkICellHyperLink

Returns

undefined | ICustomHyperLinkView

Defined in

sheets-hyper-link-ui/src/services/side-panel.service.ts:54


getCustomHyperLink(type): undefined | ICustomHyperLinkView

Parameters

ParameterType
typestring

Returns

undefined | ICustomHyperLinkView

Defined in

sheets-hyper-link-ui/src/services/side-panel.service.ts:64


getOptions()

getOptions(): {
  label: string;
  value: string;
 }[]

Returns

{ label: string; value: string; }[]

Defined in

sheets-hyper-link-ui/src/services/side-panel.service.ts:50


isBuiltInLinkType()

isBuiltInLinkType(type): boolean

Parameters

ParameterType
typestring

Returns

boolean

Defined in

sheets-hyper-link-ui/src/services/side-panel.service.ts:46


registerCustomHyperLink(customHyperLink): void

Parameters

ParameterType
customHyperLinkICustomHyperLinkView

Returns

void

Defined in

sheets-hyper-link-ui/src/services/side-panel.service.ts:60


removeCustomHyperLink(type): void

Parameters

ParameterType
typestring

Returns

void

Defined in

sheets-hyper-link-ui/src/services/side-panel.service.ts:68