Front.report(options, callback)
Display an alert dialog with the optional specified content without any buttons.
options: object
Field Name | Type | Description |
---|---|---|
title | String | Title of the alert. |
message | String | Body of the alert. |
callback: function
A callback function.
Front.report({
title: 'Title of the report',
message: 'Body of the report'
}, function() {
console.log('User closed the report');
});