@univerjsdesignclassesMessage

@univerjs/design v0.5.0-beta.1Docs


Class: Message

Implements

  • IDisposable

Constructors

new Message()

new Message(container): Message

Parameters

ParameterType
containerHTMLElement

Returns

Message

Defined in

submodules/univer/packages/design/src/components/message/Message.tsx:107

Properties

PropertyModifierTypeDefault valueDefined in
_containerprotectedHTMLDivElementundefinedsubmodules/univer/packages/design/src/components/message/Message.tsx:103
_messagesprotectedIMessageProps[][]submodules/univer/packages/design/src/components/message/Message.tsx:105

Methods

append()

append(type, options): IDisposable

Parameters

ParameterType
typeMessageType
optionsIMessageOptions

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

ParameterType
optionsIMessageOptions

Returns

IDisposable

Defined in

submodules/univer/packages/design/src/components/message/Message.tsx:164


info()

info(options): IDisposable

Parameters

ParameterType
optionsIMessageOptions

Returns

IDisposable

Defined in

submodules/univer/packages/design/src/components/message/Message.tsx:156


loading()

loading(options): IDisposable

Parameters

ParameterType
optionsIMessageOptions

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

ParameterType
optionsIMessageOptions

Returns

IDisposable

Defined in

submodules/univer/packages/design/src/components/message/Message.tsx:152


teardown()

teardown(key): void

Parameters

ParameterType
keystring

Returns

void

Defined in

submodules/univer/packages/design/src/components/message/Message.tsx:142


warning()

warning(options): IDisposable

Parameters

ParameterType
optionsIMessageOptions

Returns

IDisposable

Defined in

submodules/univer/packages/design/src/components/message/Message.tsx:160