File

projects/components/src/widgets/common/message/message.component.doc.ts

Description

The wmMessage component defines the message widget.

Index

Methods
Inputs

Methods

onClose
onClose($event: MouseEvent, widget: any)

Callback function which will be triggered when message widget is closed.

Parameters :
Name Type Optional Description
$event MouseEvent No

DOM event on which call back is triggered

widget any No

Instance of the message widget

Returns : void

Inputs

caption

This property specifies the label of the message.

Bindable: true

Type : string

class

Class of the widget.

Type : string

hideclose

This property helps to manage the close button visibility.

Type : boolean

Default value : false

name

Name of the message widget.

Type : string

show

This property will be used to show/hide the message widget on the web page.

Bindable: true

Type : boolean

Default value : true

type

Type of the message widget.

Allowed Values: error, info, loading, success, warning

error: Indicates a dangerous or potentially negative message

info: Indicates a neutral informative message

loading: Indicates loading status message

success: Indicates a successful or positive message

warning: Indicates a warning message that might need attention

Type : string

Default value : 'success'

result-matching ""

    No results matching ""