@univerjssheets-hyper-link-uiindexclassesSheetshyperlinksidepanelservice

@univerjs/sheets-hyper-link-ui v0.5.4


Class: SheetsHyperLinkSidePanelService

Defined in: sheets-hyper-link-ui/src/services/side-panel.service.ts:43

Extends

Constructors

new SheetsHyperLinkSidePanelService()

new SheetsHyperLinkSidePanelService(): SheetsHyperLinkSidePanelService

Returns

SheetsHyperLinkSidePanelService

Inherited from

Disposable.constructor

Properties

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

Methods

dispose()

dispose(): void

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

Returns

void

Overrides

Disposable.dispose


disposeWithMe()

disposeWithMe(disposable): IDisposable

Defined in: core/src/shared/lifecycle.ts:99

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe


ensureNotDisposed()

protected ensureNotDisposed(): void

Defined in: core/src/shared/lifecycle.ts:103

Returns

void

Inherited from

Disposable.ensureNotDisposed


findCustomHyperLink(link): 
  | undefined
  | ICustomHyperLinkView

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

Parameters

ParameterType
linkISheetHyperLink

Returns

| undefined | ICustomHyperLinkView


getCustomHyperLink(type): 
  | undefined
  | ICustomHyperLinkView

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

Parameters

ParameterType
typestring

Returns

| undefined | ICustomHyperLinkView


getOptions()

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

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

Returns

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


isBuiltInLinkType()

isBuiltInLinkType(type): boolean

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

Parameters

ParameterType
typestring

Returns

boolean


registerCustomHyperLink(customHyperLink): void

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

Parameters

ParameterType
customHyperLinkICustomHyperLinkView

Returns

void


removeCustomHyperLink(type): void

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

Parameters

ParameterType
typestring

Returns

void