BlockJson Class
Defined in:
_controllers\_blocks\BlockJson.js:9
BlockJson is a Player block that is used as base class for all JSON based components it allows for parsing of JSON data and is supported with the JSON Item inside scenes
The setup sequence is:
- Constructor of the child, which calls super on base
- Constructor of the base, which calls init on base
- Initialize of the base
- Initialize of the child
- Instance is ready
Constructor
BlockJson
()
Object
Returns:
Object:
instantiated BlockJson
- @example
- path: http://www.digitalsignage.com/videoTutorials/_data/videos.json
- json player: children[0].children
- json item: text
Item Index
Methods
_populate
()
Populate the common properties UI
_showJsonPaths
()
Show the JSON URL and JSON Object paths inputs for the JSON component only
_updateTitleTab
()
Update the title of the selected tab properties element and also show the sub tab for Settings of Json sub components (world weather, Calendar etc...)
initialize
()
Init sub class and super on base