API Reference
@univerjs
@univerjs/sheets-hyper-link-ui
classes
Sheetshyperlinksidepanelservice

@univerjs/sheets-hyper-link-ui v0.4.2Docs


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 (opens in a new tab)

Methods

dispose()

dispose(): void

Returns

void

Overrides

Disposable.dispose

Defined in

sheets-hyper-link-ui/src/services/side-panel.service.ts:73 (opens in a new tab)


disposeWithMe()

disposeWithMe(disposable): IDisposable

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe

Defined in

core/src/shared/lifecycle.ts:96 (opens in a new tab)


ensureNotDisposed()

protected ensureNotDisposed(): void

Returns

void

Inherited from

Disposable.ensureNotDisposed

Defined in

core/src/shared/lifecycle.ts:100 (opens in a new tab)


findCustomHyperLink()

findCustomHyperLink(link): undefined | ICustomHyperLinkView

Parameters

ParameterType
linkICellHyperLink

Returns

undefined | ICustomHyperLinkView

Defined in

sheets-hyper-link-ui/src/services/side-panel.service.ts:54 (opens in a new tab)


getCustomHyperLink()

getCustomHyperLink(type): undefined | ICustomHyperLinkView

Parameters

ParameterType
typestring

Returns

undefined | ICustomHyperLinkView

Defined in

sheets-hyper-link-ui/src/services/side-panel.service.ts:64 (opens in a new tab)


getOptions()

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

Returns

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

Defined in

sheets-hyper-link-ui/src/services/side-panel.service.ts:50 (opens in a new tab)


isBuiltInLinkType()

isBuiltInLinkType(type): boolean

Parameters

ParameterType
typestring

Returns

boolean

Defined in

sheets-hyper-link-ui/src/services/side-panel.service.ts:46 (opens in a new tab)


registerCustomHyperLink()

registerCustomHyperLink(customHyperLink): void

Parameters

ParameterType
customHyperLinkICustomHyperLinkView

Returns

void

Defined in

sheets-hyper-link-ui/src/services/side-panel.service.ts:60 (opens in a new tab)


removeCustomHyperLink()

removeCustomHyperLink(type): void

Parameters

ParameterType
typestring

Returns

void

Defined in

sheets-hyper-link-ui/src/services/side-panel.service.ts:68 (opens in a new tab)


Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.