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/ext-dojo/complex.js

  • Provides:

    • dojox.fx.ext-dojo.complex
  • dojox.fx._Complex

    • type
      Function
    • parameters:
      • options
    • summary
      A class that takes a complex property such as
      clip style: rect(10px 30px 10px 50px), and breaks it
      into seperate animatable units. The object has a getValue()
      that will return a string with the modified units.
  • dojox.fx._Complex.PROP

    • type
      RegExp
  • dojox.fx._Complex.constructor

    • constructor - constructor
    • type
      Function
    • parameters:
      • options
  • dojox.fx._Complex.getValue

    • parameters:
      • r: (typeof Float)
    • returns
      String
    • summary
      Returns a string with teh same integrity as the
      original star and end, but with the modified units.
    • type
      Function
  • dojox.fx._Complex.makePropObject

    • parameters:
      • beg: (typeof String)
      • end: (typeof String)
    • summary
      Returns an object that stores the numeric value and
      units of the beggining and ending properties.
    • type
      Function
  • dojox.fx._Complex.getProps

    • parameters:
      • str: (typeof String)
    • returns
      String
    • summary
      Helper function that splits a stringified set of properties
      into individual units.
    • type
      Function
  • dojox.fx._Complex.getNumAndUnits

    • parameters:
      • prop
    • returns
      Object
    • summary
      Helper function that returns the numeric verion of the string
      property (or dojo.Color object) and the unit in which it was
      defined.
    • type
      Function
  • dojox.fx._Complex._properties

    • type
      Object
  • dojox.fx._Complex.strProp

  • dojo.animateProperty

    • alias - dojo.animateProperty
    • parameters:
      • options
    • returns
      dojo.Animation
    • summary
      An extension of dojo.animateProperty which adds functionality
      that animates a "complex property". The primary example is the
      clip style: rect(10px 30px 10px 50px).
      Note this can also be used with (and is actually intended for)
      CSS3 properties, such as transform:
      transform: rotate(10deg) translateX(0px)
    • description
      The standard animation doesn't know what to do with something like
      rect(...). This class identifies complex properties by they being a
      string and having parenthesis. If so, that property is made into a
      dojox.fx._Complex object and the getValue() is obtained from
      there.
    • example
      	var ani = dojo.animateProperty({
      		node:dojo.byId("myDiv"),
      		duration:600,
      		properties:{
      			clip:{start:'rect(0px 50px 50px 0px)', end:'rect(10px 30px 30px 10px)'}
      		}
      	}).play();
    • type
      Function
  • dojox.fx.ext-dojo.complex

    • type
      Object
  • dojox.fx.ext-dojo

    • type
      Object
  • dojox.fx

    • type
      Object
  • dojox

    • type
      Object