Widget
Provides a generic widget that can use most third party JavaScript widgets.
Features
Server Communication
Client to Server
// Processes the client-side widget initialization.
this.init = function(options)
{
// retain a reference to 'this' context.
var me = this;
options.onItemTap = function itemTap(event, inst) {
me.fireWidgetEvent("itemTap", event.target.getAttribute("data-text"))
}
// simple integration of the MobiScroll JavaScript library.
mobiscroll.optionlist("#demo", options);
}Server to Client
Advanced
JavaScript Widget
Item
Description
Last updated
Was this helpful?

