@univerjs/docs-mention-ui v0.4.2 • 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:37 (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:32 (opens in a new tab) |
infoPopup$ | readonly | Observable <undefined > | undefined | - | docs-mention-ui/src/services/doc-mention-popup.service.ts:26 (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:33 (opens in a new tab)
infoPopup
get infoPopup(): undefined
Returns
undefined
Defined in
docs-mention-ui/src/services/doc-mention-popup.service.ts:27 (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:54 (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()
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(unitId, index): void
Parameters
Parameter | Type |
---|---|
unitId | string |
index | number |
Returns
void
Defined in
docs-mention-ui/src/services/doc-mention-popup.service.ts:56 (opens in a new tab)
showInfoPopup()
showInfoPopup(): void
Returns
void
Defined in
docs-mention-ui/src/services/doc-mention-popup.service.ts:52 (opens in a new tab)