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

dijit/form/_Spinner.js

  • Provides:

    • dijit.form._Spinner
  • Requires:

    • dijit.form.ValidationTextBox in common
  • dijit.form._Spinner

    • type
      Function
    • chains:
      • dijit.form.RangeBoundTextBox: (prototype)
      • dijit.form.RangeBoundTextBox: (call)
    • summary
      Mixin for validation widgets with a spinner.
    • description
      This class basically (conceptually) extends `dijit.form.ValidationTextBox`.
      It modifies the template to have up/down arrows, and provides related handling code.
  • dijit.form._Spinner.defaultTimeout

    • type
      Number
    • summary
      Number of milliseconds before a held arrow key or up/down button becomes typematic
  • dijit.form._Spinner.minimumTimeout

    • type
      Number
    • summary
      minimum number of milliseconds that typematic event fires when held key or button is held
  • dijit.form._Spinner.timeoutChangeRate

    • type
      Number
    • summary
      Fraction of time used to change the typematic timer between events.
      1.0 means that each typematic event fires at defaultTimeout intervals.
      < 1.0 means that each typematic event fires at an increasing faster rate.
  • dijit.form._Spinner.smallDelta

    • type
      Number
    • summary
      Adjust the value by this much when spinning using the arrow keys/buttons
  • dijit.form._Spinner.largeDelta

    • type
      Number
    • summary
      Adjust the value by this much when spinning using the PgUp/Dn keys
  • dijit.form._Spinner.templateString

    • type
      Object
  • dijit.form._Spinner.baseClass

    • type
      String
  • dijit.form._Spinner.cssStateNodes

    • type
      Object
  • dijit.form._Spinner.cssStateNodes.upArrowNode

    • type
      String
  • dijit.form._Spinner.cssStateNodes.downArrowNode

    • type
      String
  • dijit.form._Spinner.adjust

    • parameters:
      • val: (typeof Object)
      • delta: (typeof Number)
    • summary
      Overridable function used to adjust a primitive value(Number/Date/...) by the delta amount specified.
      The val is adjusted in a way that makes sense to the object type.
    • tags: extension
    • type
      Function
  • dijit.form._Spinner._arrowPressed

    • parameters:
      • nodePressed: (typeof Node)
      • direction: (typeof Number)
      • increment: (typeof Number)
    • summary
      Handler for arrow button or arrow key being pressed
    • type
      Function
  • dijit.form._Spinner._arrowReleased

    • parameters:
      • node: (typeof Node)
    • summary
      Handler for arrow button or arrow key being released
    • type
      Function
  • dijit.form._Spinner._wheelTimer

    • type
      Object
  • dijit.form._Spinner._typematicCallback

    • parameters:
      • count: (typeof Number)
      • node: (typeof DOMNode)
      • evt: (typeof Event)
    • type
      Function
  • dijit.form._Spinner._mouseWheeled

    • parameters:
      • evt: (typeof Event)
    • summary
      Mouse wheel listener where supported
    • type
      Function
  • dijit.form._Spinner.postCreate

    • type
      Function
  • dijit.form

    • type
      Object
  • dijit

    • type
      Object