dojox/mobile/app/compat.js

  • Provides:

    • dojox.mobile.app.compat
  • Requires:

    • dojox.mobile.compat in common
  • dojox.mobile.app.AlertDialog._doTransition

    • type
      Function
    • parameters:
      • dir: (typeof )
    • source: [view]
        console.log("in _doTransition and this = ", this);


        var h = dojo.marginBox(this.domNode.firstChild).h;


        var bodyHeight = this.controller.getWindowSize().h;

       
        var high = bodyHeight - h;
        var low = bodyHeight;


        var anim1 = dojo.fx.slideTo({
         node: this.domNode,
         duration: 400,
         top: {start: dir < 0 ? high : low, end: dir < 0 ? low: high}
        });


        var anim2 = dojo[dir < 0 ? "fadeOut" : "fadeIn"]({
         node: this.mask,
         duration: 400
        });

       
        var anim = dojo.fx.combine([anim1, anim2]);

       
        var _this = this;


        dojo.connect(anim, "onEnd", this, function(){
         if(dir < 0){
          _this.domNode.style.display = "none";
          dojo.destroy(_this.domNode);
          dojo.destroy(_this.mask);
         }
        });
        anim.play();
    • summary
  • dojox.mobile.app.List.deleteRow

    • type
      Function
    • source: [view]
        console.log("deleteRow in compat mode", row);

       
        var row = this._selectedRow;
        // First make the row invisible
        // Put it back where it came from
        dojo.style(row, {
         visibility: "hidden",
         minHeight: "0px"
        });
        dojo.removeClass(row, "hold");

       

       
        // Animate reducing it's height to zero, then delete the data from the
        // array
        var height = dojo.contentBox(row).h;
        dojo.animateProperty({
          node: row,
          duration: 800,
          properties: {
          height: {start: height, end: 1},
          paddingTop: {end: 0},
          paddingBottom: {end: 0}
         },
         onEnd: this._postDeleteAnim
        }).play();
    • summary
  • dojox.mobile.app.ImageView.buildRendering

    • type
      Function
    • source: [view]
         this.domNode.innerHTML =
          "ImageView widget is not supported on this browser."
          + "Please try again with a modern browser, e.g. "
          + "Safari, Chrome or Firefox";
         this.canvas = {};
    • summary
  • dojox.mobile.app.ImageView.domNode.innerHTML

    • summary
  • dojox.mobile.app.ImageView.canvas

    • summary
  • dojox.mobile.app.ImageView.postCreate

    • type
      Function
    • source: [view]
      }
    • summary
  • dojox.mobile.app.ImageThumbView.place

    • type
      Function
    • parameters:
      • node: (typeof )
      • x: (typeof )
      • y: (typeof )
    • source: [view]
         dojo.style(node, {
          top: y + "px",
          left: x + "px",
          visibility: "visible"
         });
    • summary
  • dojox.mobile.app.compat

    • type
      Object
    • summary
  • dojox.mobile.app

    • type
      Object
    • summary
  • dojox.mobile

    • type
      Object
    • summary
  • dojox

    • type
      Object
    • summary