File

projects/components/base/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
Type : string

This property specifies the label of the message.

Bindable: true

class
Type : string

Class of the widget.

hideclose
Type : boolean
Default value : false

This property helps to manage the close button visibility.

name
Type : string

Name of the message widget.

show
Type : boolean
Default value : true

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

Bindable: true

type
Type : string
Default value : 'success'

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

result-matching ""

    No results matching ""