Class wink.ui.xy.NewsTicker.BreakingNews
Implement a BreakingNews to be used in the NewsTicker
- Defined in: newsticker.js
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
wink.ui.xy.NewsTicker.BreakingNews(properties)
|
Method Summary
Class Detail
wink.ui.xy.NewsTicker.BreakingNews(properties)
- Parameters:
- {object} properties
- The properties object
- {string} properties.type
- The type of the news
- {string} properties.content
- The content of the news (must be a string)
Field Detail
{string}
content
The content of the news
{string}
type
The category of the news (related to a CSS classname)
{integer}
uId
Unique identifier
Method Detail
-
{HTMLElement} getDomNode()Returns the DOM node containing the BreakingNews
- Returns:
- {HTMLElement} The main dom node