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


Class: SheetsHyperLinkPopupService

Extends

Constructors

new SheetsHyperLinkPopupService()

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

Parameters

ParameterType
_sheetCanvasPopManagerServiceSheetCanvasPopManagerService
_injectorInjector
_univerInstanceServiceIUniverInstanceService
_editorBridgeServiceIEditorBridgeService
_textSelectionManagerServiceDocSelectionManagerService
_docCanvasPopManagerServiceDocCanvasPopManagerService
_zenZoneServiceIZenZoneService

Returns

SheetsHyperLinkPopupService

Overrides

Disposable.constructor

Defined in

sheets-hyper-link-ui/src/services/popup.service.ts:92

Properties

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

Accessors

currentEditing

Get Signature

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:88


currentPopup

Get Signature

get currentPopup(): null | IHyperLinkPopup
Returns

null | IHyperLinkPopup

Defined in

sheets-hyper-link-ui/src/services/popup.service.ts:84

Methods

dispose()

dispose(): void

Returns

void

Inherited from

Disposable.dispose

Defined in

core/src/shared/lifecycle.ts:106


disposeWithMe()

disposeWithMe(disposable): IDisposable

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe

Defined in

core/src/shared/lifecycle.ts:96


endEditing()

endEditing(type?): void

Parameters

ParameterType
type?HyperLinkEditSourceType

Returns

void

Defined in

sheets-hyper-link-ui/src/services/popup.service.ts:422


ensureNotDisposed()

protected ensureNotDisposed(): void

Returns

void

Inherited from

Disposable.ensureNotDisposed

Defined in

core/src/shared/lifecycle.ts:100


getIsKeepVisible()

getIsKeepVisible(): boolean

Returns

boolean

Defined in

sheets-hyper-link-ui/src/services/popup.service.ts:116


hideCurrentPopup()

hideCurrentPopup(type?, force?): void

Parameters

ParameterType
type?HyperLinkEditSourceType
force?boolean

Returns

void

Defined in

sheets-hyper-link-ui/src/services/popup.service.ts:200


setIsKeepVisible()

setIsKeepVisible(v): void

Parameters

ParameterType
vboolean

Returns

void

Defined in

sheets-hyper-link-ui/src/services/popup.service.ts:112


showPopup()

showPopup(location): void

Parameters

ParameterType
locationIHyperLinkPopupOptions

Returns

void

Defined in

sheets-hyper-link-ui/src/services/popup.service.ts:120


startAddEditing()

startAddEditing(link): void

Parameters

ParameterType
linkIHyperLinkEditing

Returns

void

Defined in

sheets-hyper-link-ui/src/services/popup.service.ts:266


startEditing()

startEditing(link): void

Parameters

ParameterType
linkRequired<IHyperLinkEditing>

Returns

void

Defined in

sheets-hyper-link-ui/src/services/popup.service.ts:333