notificationsGrowl
cdf.dashboard.Popups.notificationsGrowl
The Error Notification Growl Popup object containing the default values for an error notification growl popup.
Source: dashboard/Popups.js, line 242
Example
<div class='cdfNotification growl'> <div class='cdfNotificationBody'> <h1 class='cdfNotificationTitle' title='Title'>Title</h1> <h2 class='cdfNotificationDesc' title='Default CDF notification.'>Default CDF notification.</h2> </div> </div>
Members
Name | Description |
---|---|
defaults : | The Popup default properties. |
template : | The template of the Popup. |
Methods
Name | Description |
---|---|
render(newOpts) | Renders the Popup. |
Members Details
defaults: | ||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
The Popup default properties, with the properties applied during the template render. More info about some of the properties used is detailed below.
Source: dashboard/Popups.js, line 298 See also: jQuery.blockUI |
template: |
---|
The Mustache template of the Error Notification Popup. It has a title and a description. The default values for each of the template variables are stored in Source: dashboard/Popups.js, line 269 Code<div class='cdfNotification growl'> <div class='cdfNotificationBody'> <h1 class='cdfNotificationTitle' title='{{title}}'>{{{title}}}</h1> <h2 class='cdfNotificationDesc' title='{{desc}}'>{{{desc}}}</h2> </div> </div> See also: Mustache |
Methods Details
render(newOpts) | ||||||
---|---|---|---|---|---|---|
Renders the Popup based on the object containing the properties to apply to the Mustache template. If the render function is called for the first time, then the component is rendered and attached in the body of the page. Otherwise, the component is shown, calling the jQuery.blockUI. block function with the defaults extended with the newOpts argument to allow user customizations. Source: dashboard/Popups.js, line 329
See also: jQuery.blockUI |