@univerjs/docs-mention-ui v0.2.11 • Docs
Class: DocMentionPopupService
Extends
Constructors
new DocMentionPopupService()
new DocMentionPopupService(_docCanvasPopupManagerService, _docMentionService): DocMentionPopupService
Parameters
Parameter | Type |
---|---|
_docCanvasPopupManagerService | DocCanvasPopManagerService |
_docMentionService | DocMentionService |
Returns
Overrides
Defined in
docs-mention-ui/src/services/doc-mention-popup.service.ts:38 (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) |
editPopup$ | readonly | Observable <Nullable <{ anchor : number ; popup : IDisposable ; }>> | undefined | - | docs-mention-ui/src/services/doc-mention-popup.service.ts:33 (opens in a new tab) |
infoPopup$ | readonly | Observable <undefined > | undefined | - | docs-mention-ui/src/services/doc-mention-popup.service.ts:27 (opens in a new tab) |
Accessors
editPopup
get editPopup(): Nullable<{
anchor: number;
popup: IDisposable;
}>
Returns
Nullable
<{
anchor
: number
;
popup
: IDisposable
;
}>
Defined in
docs-mention-ui/src/services/doc-mention-popup.service.ts:34 (opens in a new tab)
infoPopup
get infoPopup(): undefined
Returns
undefined
Defined in
docs-mention-ui/src/services/doc-mention-popup.service.ts:28 (opens in a new tab)
Methods
closeEditPopup()
closeEditPopup(): void
Returns
void
Defined in
docs-mention-ui/src/services/doc-mention-popup.service.ts:72 (opens in a new tab)
closeInfoPopup()
closeInfoPopup(): void
Returns
void
Defined in
docs-mention-ui/src/services/doc-mention-popup.service.ts:55 (opens in a new tab)
dispose()
dispose(): void
Returns
void
Inherited from
Defined in
core/src/shared/lifecycle.ts:106 (opens in a new tab)
disposeWithMe()
protected disposeWithMe(disposable): IDisposable
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
Defined in
core/src/shared/lifecycle.ts:96 (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)
showEditPopup()
showEditPopup(index): void
Parameters
Parameter | Type |
---|---|
index | number |
Returns
void
Defined in
docs-mention-ui/src/services/doc-mention-popup.service.ts:57 (opens in a new tab)
showInfoPopup()
showInfoPopup(): void
Returns
void
Defined in
docs-mention-ui/src/services/doc-mention-popup.service.ts:53 (opens in a new tab)