notificationsComponent
cdf.dashboard.Popups.notificationsComponent
The Error Notification Popup object containing the default values for a error notification popup.
Source: dashboard/Popups.js, line 170
Example
<div class='cdfNotification component small> <div class='cdfNotificationBody'> <div class='cdfNotificationImg'> </div> <div class='cdfNotificationTitle' title='Component Error'>Component Error</div> <div class='cdfNotificationDesc' title='Error processing component.'>Error processing component.</div> </div> </div>
Members
Name | Description |
---|---|
defaults : | The Popup default properties. |
template : | The template of the Popup. |
Methods
Name | Description |
---|---|
render(ph, newOpts) | Renders the Popup. |
Members Details
defaults: | |||||||||
---|---|---|---|---|---|---|---|---|---|
The Popup default properties, with the properties applied during the template render.
Source: dashboard/Popups.js, line 202 |
template: |
---|
The Mustache template of the Error Notification Popup. It has a title and description. The default values for each of the template variables are stored in Source: dashboard/Popups.js, line 187 Code<div class='cdfNotification component {{#isSmallComponent}}small{{/isSmallComponent}}> <div class='cdfNotificationBody'> <div class='cdfNotificationImg'> </div> <div class='cdfNotificationTitle' title='{{title}}'>{{{title}}}</div> <div class='cdfNotificationDesc' title='{{desc}}'>{{{desc}}}</div> </div> </div> |
Methods Details
render(ph, newOpts) | |||||||||
---|---|---|---|---|---|---|---|---|---|
Renders the Popup based on the object containing the properties to apply to the Mustache template. If the component has a width smaller than 300, the css class small is added. Source: dashboard/Popups.js, line 219
|