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