The Notification control displays textual or numerical content and comes with many easy to configure formula and appearance options
Like almost all SPARK controls, you can trigger events that are fired when the user interacts with the control (see the Event and Methods sections below and the Event Handling article for more information).
This control is most commonly used when bringing the users attention to a specific area on a Coach, or to display useful or helpful information.
Formula
Notification Formula Formula/expression to be auto-calculated (for the notification text)
Appearance
Color Style
Icon Notification icon name, for example: calendar, clock-o, camera, cloud-upload, bell, info, file-text, etc. See Font Awesome for a complete list of icons.
Example
These are the configuration option settings...
This is the result...
Note: The comment box below the notification is a Text Area control.
Events
With the Notification control, there are 2 types of event handlers:
- On Load When the page loads
- On Click When the Notification is clicked
You can use JavaScript logic to affect the effects of the control, depending on the event. More information on using these controls can be found in the Event Handling article.
Methods
For detailed information on the available methods for this control, access the JS Doc file.
- Author: Courtney Silva
- Date Created: June 19, 2015
- Date Modified: June 24, 2015
Comments