Notify: Popup Messages

更新时间:
2024-05-17
下载文档

Notify: Popup Messages

EdgerOS provides a unified pop-up message reminder, and developers must use the API provided by Web-SDK for message reminders.

Functions

edger.notify.info(content)

  • content {String} Message content.

Pop up an information message.

Example

edger.notify.info('information');

edger.notify.warning(content)

  • content {String} Warning content.

Pop up an warning message.

Example

edger.notify.warning('warning');

edger.notify.error(content)

  • content {String} Error content.

Pop up an error message.

Example

edger.notify.error('error');

edger.notify.success(content)

  • content {String} Success content.

Pop up an success message.

Example

edger.notify.success('success');
文档内容是否对您有所帮助?
有帮助
没帮助