Warning: Use of undefined constant Symbol - assumed 'Symbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215 Warning: Use of undefined constant JavaScriptSymbol - assumed 'JavaScriptSymbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215

dojox/image/MagnifierLite.js

  • Provides:

    • dojox.image.MagnifierLite
  • Requires:

    • dijit._Widget in common
  • dojox.image.MagnifierLite

    • type
      Function
    • chains:
      • dijit._Widget: (prototype)
      • dijit._Widget: (call)
    • summary
      Adds magnification on a portion of an image element
    • description
      An unobtrusive way to add an unstyled overlay
      above the srcNode image element. The overlay/glass is a
      scaled version of the src image (so larger images sized down
      are clearer).
      
      The logic behind requiring the src image to be large is
      "it's going to be downloaded, anyway" so this method avoids
      having to make thumbnails and 2 http requests among other things.
  • dojox.image.MagnifierLite.glassSize

    • type
      Int
    • summary
      the width and height of the bounding box
  • dojox.image.MagnifierLite.scale

    • type
      Decimal
    • summary
      the multiplier of the Mangification.
  • dojox.image.MagnifierLite.postCreate

    • type
      Function
  • dojox.image.MagnifierLite._createGlass

    • summary
      make img and glassNode elements as children of the body
    • type
      Function
  • dojox.image.MagnifierLite.glassNode

    • type
      Object
  • dojox.image.MagnifierLite.surfaceNode

    • type
      Object
  • dojox.image.MagnifierLite.img

    • type
      Object
  • dojox.image.MagnifierLite._adjustScale

    • summary
      update the calculations should this.scale change
    • type
      Function
  • dojox.image.MagnifierLite.offset

    • type
      Object
  • dojox.image.MagnifierLite._imageSize

    • type
      Object
  • dojox.image.MagnifierLite._zoomSize

    • type
      Object
  • dojox.image.MagnifierLite._showGlass

    • parameters:
      • e
    • summary
      show the overlay
    • type
      Function
  • dojox.image.MagnifierLite._hideGlass

    • parameters:
      • e
    • summary
      hide the overlay
    • type
      Function
  • dojox.image.MagnifierLite._placeGlass

    • parameters:
      • e
    • summary
      position the overlay centered under the cursor
    • type
      Function
  • dojox.image.MagnifierLite._setImage

    • parameters:
      • e
    • summary
      set the image's offset in the clipping window relative to the mouse position
    • type
      Function
  • dojox.image.MagnifierLite.destroy

    • parameters:
      • finalize
    • type
      Function
  • dojox.image

    • type
      Object
  • dojox

    • type
      Object