@univerjs/design v0.5.0-beta.1 • Docs
Class: Message
Implements
IDisposable
Constructors
new Message()
new Message(container): Message
Parameters
Parameter | Type |
---|---|
container | HTMLElement |
Returns
Defined in
submodules/univer/packages/design/src/components/message/Message.tsx:107
Properties
Property | Modifier | Type | Default value | Defined in |
---|---|---|---|---|
_container | protected | HTMLDivElement | undefined | submodules/univer/packages/design/src/components/message/Message.tsx:103 |
_messages | protected | IMessageProps [] | [] | submodules/univer/packages/design/src/components/message/Message.tsx:105 |
Methods
append()
append(type, options): IDisposable
Parameters
Parameter | Type |
---|---|
type | MessageType |
options | IMessageOptions |
Returns
IDisposable
Defined in
submodules/univer/packages/design/src/components/message/Message.tsx:123
dispose()
dispose(): void
Returns
void
Implementation of
IDisposable.dispose
Defined in
submodules/univer/packages/design/src/components/message/Message.tsx:118
error()
error(options): IDisposable
Parameters
Parameter | Type |
---|---|
options | IMessageOptions |
Returns
IDisposable
Defined in
submodules/univer/packages/design/src/components/message/Message.tsx:164
info()
info(options): IDisposable
Parameters
Parameter | Type |
---|---|
options | IMessageOptions |
Returns
IDisposable
Defined in
submodules/univer/packages/design/src/components/message/Message.tsx:156
loading()
loading(options): IDisposable
Parameters
Parameter | Type |
---|---|
options | IMessageOptions |
Returns
IDisposable
Defined in
submodules/univer/packages/design/src/components/message/Message.tsx:168
render()
render(): void
Returns
void
Defined in
submodules/univer/packages/design/src/components/message/Message.tsx:148
success()
success(options): IDisposable
Parameters
Parameter | Type |
---|---|
options | IMessageOptions |
Returns
IDisposable
Defined in
submodules/univer/packages/design/src/components/message/Message.tsx:152
teardown()
teardown(key): void
Parameters
Parameter | Type |
---|---|
key | string |
Returns
void
Defined in
submodules/univer/packages/design/src/components/message/Message.tsx:142
warning()
warning(options): IDisposable
Parameters
Parameter | Type |
---|---|
options | IMessageOptions |
Returns
IDisposable
Defined in
submodules/univer/packages/design/src/components/message/Message.tsx:160