i am developing widgets such as dials for my application. now these dials can be of different type - analog needle type, digital levels type, etc. the functionality to handle the update values needs to be stored with the widgets within the scenegraph so that the viewer application does not need to know the logic behind these update functions. it should be able to retrieve the widget node from the scenegraph, get the update callback function from the data section and execute it.
i hope i have been able to give a clear idea of what i am trying to do.
regards!
Siddharth
On Monday, 6 August 2012 13:52:22 UTC+5:30, Lindsay Kay wrote:
Hi, nope. The 'data' attribute is just for data, strictly JSON.
Could you expand on your use though? Might be something we should have in the API..