@univerjs/docs-mention-ui v0.5.4
Class: DocMentionPopupService
Defined in: docs-mention-ui/src/services/doc-mention-popup.service.ts:24
Extends
Constructors
new DocMentionPopupService()
new DocMentionPopupService(_docCanvasPopupManagerService, _docMentionService): DocMentionPopupService
Defined in: docs-mention-ui/src/services/doc-mention-popup.service.ts:37
Parameters
Parameter | Type |
---|---|
_docCanvasPopupManagerService | DocCanvasPopManagerService |
_docMentionService | DocMentionService |
Returns
Overrides
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | core/src/shared/lifecycle.ts:96 |
editPopup$ | readonly | Observable <Nullable <{ anchor : number ; popup : IDisposable ; unitId : string ; }>> | undefined | - | docs-mention-ui/src/services/doc-mention-popup.service.ts:32 |
infoPopup$ | readonly | Observable <undefined > | undefined | - | docs-mention-ui/src/services/doc-mention-popup.service.ts:26 |
Accessors
editPopup
Get Signature
get editPopup(): Nullable<{
anchor: number;
popup: IDisposable;
unitId: string;
}>
Defined in: docs-mention-ui/src/services/doc-mention-popup.service.ts:33
Returns
Nullable
<{
anchor
: number
;
popup
: IDisposable
;
unitId
: string
;
}>
infoPopup
Get Signature
get infoPopup(): undefined
Defined in: docs-mention-ui/src/services/doc-mention-popup.service.ts:27
Returns
undefined
Methods
closeEditPopup()
closeEditPopup(): void
Defined in: docs-mention-ui/src/services/doc-mention-popup.service.ts:72
Returns
void
closeInfoPopup()
closeInfoPopup(): void
Defined in: docs-mention-ui/src/services/doc-mention-popup.service.ts:54
Returns
void
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
ensureNotDisposed()
protected ensureNotDisposed(): void
Defined in: core/src/shared/lifecycle.ts:103
Returns
void
Inherited from
showEditPopup()
showEditPopup(unitId, index): void
Defined in: docs-mention-ui/src/services/doc-mention-popup.service.ts:56
Parameters
Parameter | Type |
---|---|
unitId | string |
index | number |
Returns
void
showInfoPopup()
showInfoPopup(): void
Defined in: docs-mention-ui/src/services/doc-mention-popup.service.ts:52
Returns
void