@univerjs/sheets-hyper-link-ui v0.5.0-beta.1 • Docs
Class: SheetsHyperLinkPopupService
Extends
Constructors
new SheetsHyperLinkPopupService()
new SheetsHyperLinkPopupService(
_sheetCanvasPopManagerService,
_injector,
_univerInstanceService,
_editorBridgeService,
_textSelectionManagerService,
_docCanvasPopManagerService,
_zenZoneService): SheetsHyperLinkPopupService
Parameters
Parameter | Type |
---|---|
_sheetCanvasPopManagerService | SheetCanvasPopManagerService |
_injector | Injector |
_univerInstanceService | IUniverInstanceService |
_editorBridgeService | IEditorBridgeService |
_textSelectionManagerService | DocSelectionManagerService |
_docCanvasPopManagerService | DocCanvasPopManagerService |
_zenZoneService | IZenZoneService |
Returns
Overrides
Defined in
sheets-hyper-link-ui/src/services/popup.service.ts:92
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | core/src/shared/lifecycle.ts:93 |
currentEditing$ | public | Observable <null | IHyperLinkEditing & { customRange : ICustomRange <Record <string , any >>; 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<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
Defined in
core/src/shared/lifecycle.ts:106
disposeWithMe()
disposeWithMe(disposable): IDisposable
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
Defined in
core/src/shared/lifecycle.ts:96
endEditing()
endEditing(type?): void
Parameters
Parameter | Type |
---|---|
type ? | HyperLinkEditSourceType |
Returns
void
Defined in
sheets-hyper-link-ui/src/services/popup.service.ts:422
ensureNotDisposed()
protected ensureNotDisposed(): void
Returns
void
Inherited from
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
Parameter | Type |
---|---|
type ? | HyperLinkEditSourceType |
force ? | boolean |
Returns
void
Defined in
sheets-hyper-link-ui/src/services/popup.service.ts:200
setIsKeepVisible()
setIsKeepVisible(v): void
Parameters
Parameter | Type |
---|---|
v | boolean |
Returns
void
Defined in
sheets-hyper-link-ui/src/services/popup.service.ts:112
showPopup()
showPopup(location): void
Parameters
Parameter | Type |
---|---|
location | IHyperLinkPopupOptions |
Returns
void
Defined in
sheets-hyper-link-ui/src/services/popup.service.ts:120
startAddEditing()
startAddEditing(link): void
Parameters
Parameter | Type |
---|---|
link | IHyperLinkEditing |
Returns
void
Defined in
sheets-hyper-link-ui/src/services/popup.service.ts:266
startEditing()
startEditing(link): void
Parameters
Parameter | Type |
---|---|
link | Required <IHyperLinkEditing > |
Returns
void
Defined in
sheets-hyper-link-ui/src/services/popup.service.ts:333