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

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


Class: SheetsHyperLinkPopupService

Extends

Constructors

new SheetsHyperLinkPopupService()

new SheetsHyperLinkPopupService(
   _sheetCanvasPopManagerService, 
   _injector, 
   _univerInstanceService, 
   _editorBridgeService, 
   _textSelectionManagerService, 
   _docCanvasPopManagerService, 
   _editorService, 
   _rangeSelectorService, 
   _zenZoneService): SheetsHyperLinkPopupService

Parameters

ParameterType
_sheetCanvasPopManagerServiceSheetCanvasPopManagerService
_injectorInjector
_univerInstanceServiceIUniverInstanceService
_editorBridgeServiceIEditorBridgeService
_textSelectionManagerServiceDocSelectionManagerService
_docCanvasPopManagerServiceDocCanvasPopManagerService
_editorServiceIEditorService
_rangeSelectorServiceIRangeSelectorService
_zenZoneServiceIZenZoneService

Returns

SheetsHyperLinkPopupService

Overrides

Disposable.constructor

Defined in

sheets-hyper-link-ui/src/services/popup.service.ts:90 (opens in a new tab)

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseDisposable._disposedcore/src/shared/lifecycle.ts:93 (opens in a new tab)
currentEditing$publicObservable<null | IHyperLinkEditing & { customRange: ICustomRange<Record<string, any>>; label: string; }>undefined-sheets-hyper-link-ui/src/services/popup.service.ts:78 (opens in a new tab)
currentPopup$publicObservable<null | IHyperLinkPopup>undefined-sheets-hyper-link-ui/src/services/popup.service.ts:74 (opens in a new tab)

Accessors

currentEditing

get currentEditing(): null | IHyperLinkEditing & {
  customRange: ICustomRange<Record<string, any>>;
  label: string;
}

Returns

null | IHyperLinkEditing & { customRange: ICustomRange<Record<string, any>>; label: string; }

Defined in

sheets-hyper-link-ui/src/services/popup.service.ts:86 (opens in a new tab)


currentPopup

get currentPopup(): null | IHyperLinkPopup

Returns

null | IHyperLinkPopup

Defined in

sheets-hyper-link-ui/src/services/popup.service.ts:82 (opens in a new tab)

Methods

dispose()

dispose(): void

Returns

void

Inherited from

Disposable.dispose

Defined in

core/src/shared/lifecycle.ts:106 (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)


endEditing()

endEditing(type?): void

Parameters

ParameterType
type?HyperLinkEditSourceType

Returns

void

Defined in

sheets-hyper-link-ui/src/services/popup.service.ts:379 (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)


getIsKeepVisible()

getIsKeepVisible(): boolean

Returns

boolean

Defined in

sheets-hyper-link-ui/src/services/popup.service.ts:116 (opens in a new tab)


hideCurrentPopup()

hideCurrentPopup(type?, force?): void

Parameters

ParameterType
type?HyperLinkEditSourceType
force?boolean

Returns

void

Defined in

sheets-hyper-link-ui/src/services/popup.service.ts:187 (opens in a new tab)


setIsKeepVisible()

setIsKeepVisible(v): void

Parameters

ParameterType
vboolean

Returns

void

Defined in

sheets-hyper-link-ui/src/services/popup.service.ts:112 (opens in a new tab)


showPopup()

showPopup(location): void

Parameters

ParameterType
locationIHyperLinkPopupOptions

Returns

void

Defined in

sheets-hyper-link-ui/src/services/popup.service.ts:120 (opens in a new tab)


startAddEditing()

startAddEditing(link): void

Parameters

ParameterType
linkIHyperLinkEditing

Returns

void

Defined in

sheets-hyper-link-ui/src/services/popup.service.ts:253 (opens in a new tab)


startEditing()

startEditing(link): void

Parameters

ParameterType
linkRequired<IHyperLinkEditing>

Returns

void

Defined in

sheets-hyper-link-ui/src/services/popup.service.ts:310 (opens in a new tab)


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