@univerjs/sheets-hyper-link-ui v0.4.2 • Docs
Class: SheetsHyperLinkPopupService
Extends
Constructors
new SheetsHyperLinkPopupService()
new SheetsHyperLinkPopupService(
_sheetCanvasPopManagerService,
_injector,
_univerInstanceService,
_editorBridgeService,
_textSelectionManagerService,
_docCanvasPopManagerService,
_editorService,
_rangeSelectorService,
_zenZoneService): SheetsHyperLinkPopupService
Parameters
Parameter | Type |
---|---|
_sheetCanvasPopManagerService | SheetCanvasPopManagerService |
_injector | Injector |
_univerInstanceService | IUniverInstanceService |
_editorBridgeService | IEditorBridgeService |
_textSelectionManagerService | DocSelectionManagerService |
_docCanvasPopManagerService | DocCanvasPopManagerService |
_editorService | IEditorService |
_rangeSelectorService | IRangeSelectorService |
_zenZoneService | IZenZoneService |
Returns
Overrides
Defined in
sheets-hyper-link-ui/src/services/popup.service.ts:90 (opens in a new tab)
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | core/src/shared/lifecycle.ts:93 (opens in a new tab) |
currentEditing$ | public | Observable <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$ | public | Observable <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
Defined in
core/src/shared/lifecycle.ts:106 (opens in a new tab)
disposeWithMe()
disposeWithMe(disposable): IDisposable
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
Defined in
core/src/shared/lifecycle.ts:96 (opens in a new tab)
endEditing()
endEditing(type?): void
Parameters
Parameter | Type |
---|---|
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
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
Parameter | Type |
---|---|
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
Parameter | Type |
---|---|
v | boolean |
Returns
void
Defined in
sheets-hyper-link-ui/src/services/popup.service.ts:112 (opens in a new tab)
showPopup()
showPopup(location): void
Parameters
Parameter | Type |
---|---|
location | IHyperLinkPopupOptions |
Returns
void
Defined in
sheets-hyper-link-ui/src/services/popup.service.ts:120 (opens in a new tab)
startAddEditing()
startAddEditing(link): void
Parameters
Parameter | Type |
---|---|
link | IHyperLinkEditing |
Returns
void
Defined in
sheets-hyper-link-ui/src/services/popup.service.ts:253 (opens in a new tab)
startEditing()
startEditing(link): void
Parameters
Parameter | Type |
---|---|
link | Required <IHyperLinkEditing > |
Returns
void
Defined in
sheets-hyper-link-ui/src/services/popup.service.ts:310 (opens in a new tab)