@univerjs/docs-mention-ui v0.5.0-beta.1 • 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
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | core/src/shared/lifecycle.ts:93 |
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;
}>
Returns
Nullable
<{
anchor
: number
;
popup
: IDisposable
;
unitId
: string
;
}>
Name | Type | Defined in |
---|---|---|
anchor | number | docs-mention-ui/src/services/doc-mention-popup.service.ts:31 |
popup | IDisposable | docs-mention-ui/src/services/doc-mention-popup.service.ts:31 |
unitId | string | docs-mention-ui/src/services/doc-mention-popup.service.ts:31 |
Defined in
docs-mention-ui/src/services/doc-mention-popup.service.ts:33
infoPopup
Get Signature
get infoPopup(): undefined
Returns
undefined
Defined in
docs-mention-ui/src/services/doc-mention-popup.service.ts:27
Methods
closeEditPopup()
closeEditPopup(): void
Returns
void
Defined in
docs-mention-ui/src/services/doc-mention-popup.service.ts:72
closeInfoPopup()
closeInfoPopup(): void
Returns
void
Defined in
docs-mention-ui/src/services/doc-mention-popup.service.ts:54
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
ensureNotDisposed()
protected ensureNotDisposed(): void
Returns
void
Inherited from
Defined in
core/src/shared/lifecycle.ts:100
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
showInfoPopup()
showInfoPopup(): void
Returns
void
Defined in
docs-mention-ui/src/services/doc-mention-popup.service.ts:52