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/fx/Shadow.js

  • Provides:

    • dojox.fx.Shadow
  • Requires:

    • dijit._Widget in common
    • dojo.NodeList-fx in common
  • dojox.fx.Shadow

    • type
      Function
    • chains:
      • dijit._Widget: (prototype)
      • dijit._Widget: (call)
    • summary
      Adds a drop-shadow to a node.
    • example
      	// add drop shadows to all nodes with class="hasShadow"
      	dojo.query(".hasShadow").forEach(function(n){
      		var foo = new dojox.fx.Shadow({ node: n });
      		foo.startup();
      	});
  • dojox.fx.Shadow.shadowPng

    • type
      String
    • summary
      Base location for drop-shadow images
  • dojox.fx.Shadow.shadowThickness

    • type
      Integer
    • summary
      How wide (in px) to make the shadow
  • dojox.fx.Shadow.shadowOffset

    • type
      Integer
    • summary
      How deep to make the shadow appear to be
  • dojox.fx.Shadow.opacity

    • type
      Float
    • summary
      Overall opacity of the shadow
  • dojox.fx.Shadow.animate

    • type
      Boolean
    • summary
      A toggle to disable animated transitions
  • dojox.fx.Shadow.node

    • type
      DomNode
    • summary
      The node we will be applying this shadow to
  • dojox.fx.Shadow.startup

    • summary
      Initializes the shadow.
    • type
      Function
  • dojox.fx.Shadow.node.style.position

    • type
      String
  • dojox.fx.Shadow.pieces

    • type
      Object
  • dojox.fx.Shadow.nodeList

    • type
      Object
  • dojox.fx.Shadow._makePiece

    • parameters:
      • name
      • vertAttach
      • vertCoord
      • horzAttach
      • horzCoord
      • sizing
    • summary
      append a shadow pieces to the node, and position it
    • type
      Function
  • dojox.fx.Shadow.setOpacity

    • parameters:
      • n: (typeof Float)
      • animArgs: (typeof Object)
    • summary
      set the opacity of the underlay
      note: does not work in IE? FIXME.
    • type
      Function
  • dojox.fx.Shadow.setDisabled

    • parameters:
      • disabled: (typeof Boolean)
    • summary
      enable / disable the shadow
    • type
      Function
  • dojox.fx.Shadow.disabled

    • type
      bool
  • dojox.fx.Shadow.resize

    • parameters:
      • args: (typeof dojox.fx._arg.ShadowResizeArgs)
    • summary
      Resizes the shadow based on width and height.
    • type
      Function
  • dojox.fx

    • type
      Object
  • dojox

    • type
      Object