Перейти к основному содержимому

alert

Description​

Вызывает диалоговое окно alert

alert: (config: any) => HTMLElement

Parameters​

  • config - (required) object - конфигурация диалогового окна alert

Returns​

  • div - (HTMLElement) - div-контейнер диалогового окна alert

Example​

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

Details​

Для получения сведений о поддерживаемых опциях конфигурации диалогового окна оповещения смотрите статью Popup Messages and Modal Boxes.

Change log​

  • добавлено в версии 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.