Skip to main content

alert

Description

Calls an alert message box

alert: (config: any) => HTMLElement

Parameters

  • config - (required) object - the alert box's configuration

Returns

  • div - (HTMLElement) - the div container of the alert box

Example

var box = scheduler.alert({
title:"Alert",
type:"alert-error",
text:"You can't do this"
});

Details

For details about the supported configuration options of an alert message box, see the Popup Messages and Modal Boxes article.

Change log

  • added in version 6.0
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.