@univerjs/ui v0.5.0-beta.1 • Docs
Class: DesktopMessageService
Implements
Constructors
new DesktopMessageService()
new DesktopMessageService(): DesktopMessageService
Returns
Properties
Property | Modifier | Type | Defined in |
---|---|---|---|
_message? | protected | Message | submodules/univer/packages/ui/src/services/message/desktop-message.service.ts:28 |
_portalContainer | protected | undefined | HTMLElement | submodules/univer/packages/ui/src/services/message/desktop-message.service.ts:26 |
Methods
dispose()
dispose(): void
Returns
void
Implementation of
Defined in
submodules/univer/packages/ui/src/services/message/desktop-message.service.ts:30
getContainer()
getContainer(): undefined | HTMLElement
Returns
undefined
| HTMLElement
Implementation of
Defined in
submodules/univer/packages/ui/src/services/message/desktop-message.service.ts:43
setContainer()
setContainer(container): void
Parameters
Parameter | Type |
---|---|
container | HTMLElement |
Returns
void
Implementation of
Defined in
submodules/univer/packages/ui/src/services/message/desktop-message.service.ts:34
show()
show(options): IDisposable
Parameters
Parameter | Type |
---|---|
options | IMessageOptions & Omit <IMessageProps , "key" > |
Returns
Implementation of
Defined in
submodules/univer/packages/ui/src/services/message/desktop-message.service.ts:47