@univerjs/sheets-hyper-link-ui v0.5.4
Class: SheetsHyperLinkPopupService
Defined in: sheets-hyper-link-ui/src/services/popup.service.ts:73
Extends
Constructors
new SheetsHyperLinkPopupService()
new SheetsHyperLinkPopupService(
_sheetCanvasPopManagerService,
_injector,
_univerInstanceService,
_editorBridgeService,
_textSelectionManagerService,
_docCanvasPopManagerService,
_zenZoneService): SheetsHyperLinkPopupService
Defined in: sheets-hyper-link-ui/src/services/popup.service.ts:92
Parameters
Parameter | Type |
---|---|
_sheetCanvasPopManagerService | SheetCanvasPopManagerService |
_injector | Injector |
_univerInstanceService | IUniverInstanceService |
_editorBridgeService | IEditorBridgeService |
_textSelectionManagerService | DocSelectionManagerService |
_docCanvasPopManagerService | DocCanvasPopManagerService |
_zenZoneService | IZenZoneService |
Returns
Overrides
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | core/src/shared/lifecycle.ts:96 |
currentEditing$ | public | Observable < | null | IHyperLinkEditing & { customRange : ICustomRange ; label : string ; }> | undefined | - | sheets-hyper-link-ui/src/services/popup.service.ts:80 |
currentPopup$ | public | Observable <null | IHyperLinkPopup > | undefined | - | sheets-hyper-link-ui/src/services/popup.service.ts:76 |
Accessors
currentEditing
Get Signature
get currentEditing():
| null
| IHyperLinkEditing & {
customRange: ICustomRange;
label: string;
}
Defined in: sheets-hyper-link-ui/src/services/popup.service.ts:88
Returns
| null
| IHyperLinkEditing
& {
customRange
: ICustomRange
;
label
: string
;
}
currentPopup
Get Signature
get currentPopup(): null | IHyperLinkPopup
Defined in: sheets-hyper-link-ui/src/services/popup.service.ts:84
Returns
null
| IHyperLinkPopup
Methods
dispose()
dispose(): void
Defined in: core/src/shared/lifecycle.ts:109
Returns
void
Inherited from
disposeWithMe()
disposeWithMe(disposable): IDisposable
Defined in: core/src/shared/lifecycle.ts:99
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
endEditing()
endEditing(type?): void
Defined in: sheets-hyper-link-ui/src/services/popup.service.ts:422
Parameters
Parameter | Type |
---|---|
type ? | HyperLinkEditSourceType |
Returns
void
ensureNotDisposed()
protected ensureNotDisposed(): void
Defined in: core/src/shared/lifecycle.ts:103
Returns
void
Inherited from
getIsKeepVisible()
getIsKeepVisible(): boolean
Defined in: sheets-hyper-link-ui/src/services/popup.service.ts:116
Returns
boolean
hideCurrentPopup()
hideCurrentPopup(type?, force?): void
Defined in: sheets-hyper-link-ui/src/services/popup.service.ts:200
Parameters
Parameter | Type |
---|---|
type ? | HyperLinkEditSourceType |
force ? | boolean |
Returns
void
setIsKeepVisible()
setIsKeepVisible(v): void
Defined in: sheets-hyper-link-ui/src/services/popup.service.ts:112
Parameters
Parameter | Type |
---|---|
v | boolean |
Returns
void
showPopup()
showPopup(location): void
Defined in: sheets-hyper-link-ui/src/services/popup.service.ts:120
Parameters
Parameter | Type |
---|---|
location | IHyperLinkPopupOptions |
Returns
void
startAddEditing()
startAddEditing(link): void
Defined in: sheets-hyper-link-ui/src/services/popup.service.ts:266
Parameters
Parameter | Type |
---|---|
link | IHyperLinkEditing |
Returns
void
startEditing()
startEditing(link): void
Defined in: sheets-hyper-link-ui/src/services/popup.service.ts:333
Parameters
Parameter | Type |
---|---|
link | Required <IHyperLinkEditing > |
Returns
void