Sha256: 11239353a35cf738f9f82f9a4991aa801a4cd89bbe4555a0b35208d643fcef37
Contents?: true
Size: 818 Bytes
Versions: 6
Compression:
Stored size: 818 Bytes
Contents
// wrapped by build app define("dojox/mobile/app/_Widget", ["dijit","dojo","dojox","dojo/require!dijit/_WidgetBase"], function(dijit,dojo,dojox){ dojo.provide("dojox.mobile.app._Widget"); dojo.experimental("dojox.mobile.app._Widget"); dojo.require("dijit._WidgetBase"); dojo.declare("dojox.mobile.app._Widget", dijit._WidgetBase, { // summary: // The base mobile app widget. getScroll: function(){ // summary: // Returns the scroll position. return { x: dojo.global.scrollX, y: dojo.global.scrollY }; }, connect: function(target, event, fn){ if(event.toLowerCase() == "dblclick" || event.toLowerCase() == "ondblclick"){ if(dojo.global["Mojo"]){ // Handle webOS tap event return this.connect(target, Mojo.Event.tap, fn); } } return this.inherited(arguments); } }); });
Version data entries
6 entries across 6 versions & 2 rubygems