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

dojo/_base/event.js

  • Provides:

    • dojo._base.event
  • Requires:

    • dojo.lib.kernel in common
    • dojo._base.connect in common
  • dojo._event_listener

    • type
      Object
  • dojo._event_listener.add

    • parameters:
      • node: (typeof DOMNode)
      • name: (typeof String)
      • fp: (typeof Function)
    • type
      Function
  • dojo._event_listener.remove

    • parameters:
      • node: (typeof DOMNode)
        DOM node to attach the event to
      • event: (typeof String)
        the name of the handler to remove the function from
      • handle: (typeof Handle)
        the handle returned from add
    • summary
      clobbers the listener from the node
    • type
      Function
  • dojo._event_listener._normalizeEventName

    • parameters:
      • name: (typeof String)
    • type
      Function
  • dojo._event_listener._fixCallback

    • parameters:
      • name: (typeof String)
      • fp
    • type
      Function
  • dojo._event_listener._fixEvent

    • parameters:
      • evt
      • sender
    • alias - dojo._event_listener._fixEvent
    • type
      Function
  • dojo._event_listener._setKeyChar

    • parameters:
      • evt
    • type
      Function
  • dojo._event_listener._punctMap

    • type
      Object
  • dojo._event_listener._punctMap.106

    • type
      Number
  • dojo._event_listener._punctMap.111

    • type
      Number
  • dojo._event_listener._punctMap.186

    • type
      Number
  • dojo._event_listener._punctMap.187

    • type
      Number
  • dojo._event_listener._punctMap.188

    • type
      Number
  • dojo._event_listener._punctMap.189

    • type
      Number
  • dojo._event_listener._punctMap.190

    • type
      Number
  • dojo._event_listener._punctMap.191

    • type
      Number
  • dojo._event_listener._punctMap.192

    • type
      Number
  • dojo._event_listener._punctMap.219

    • type
      Number
  • dojo._event_listener._punctMap.220

    • type
      Number
  • dojo._event_listener._punctMap.221

    • type
      Number
  • dojo._event_listener._punctMap.222

    • type
      Number
  • dojo.fixEvent

    • parameters:
      • evt: (typeof Event)
        native event object
      • sender: (typeof DOMNode)
        node to treat as "currentTarget"
    • summary
      normalizes properties on the event object including event
      bubbling methods, keystroke normalization, and x/y positions
    • type
      Function
  • dojo.stopEvent

    • parameters:
      • evt: (typeof Event)
        The event object. If omitted, window.event is used on IE.
    • summary
      prevents propagation and clobbers the default action of the
      passed event
    • type
      Function
  • dojo._connect

    • parameters:
      • obj
      • event
      • context
      • method
      • dontFix
    • type
      Function
  • dojo._disconnect

    • parameters:
      • obj
      • event
      • handle
      • listener
    • type
      Function
  • dojo.keys

    • summary
      Definitions for common key values
      
      
      the apple key on macs
      
      
      virtual key mapping
    • type
      Object
  • dojo.keys.BACKSPACE

    • type
      Number
  • dojo.keys.TAB

    • type
      Number
  • dojo.keys.CLEAR

    • type
      Number
  • dojo.keys.ENTER

    • type
      Number
  • dojo.keys.SHIFT

    • type
      Number
  • dojo.keys.CTRL

    • type
      Number
  • dojo.keys.ALT

    • type
      Number
  • dojo.keys.META

  • dojo.keys.PAUSE

    • type
      Number
  • dojo.keys.CAPS_LOCK

    • type
      Number
  • dojo.keys.ESCAPE

    • type
      Number
  • dojo.keys.SPACE

    • type
      Number
  • dojo.keys.PAGE_UP

    • type
      Number
  • dojo.keys.PAGE_DOWN

    • type
      Number
  • dojo.keys.END

    • type
      Number
  • dojo.keys.HOME

    • type
      Number
  • dojo.keys.LEFT_ARROW

    • type
      Number
  • dojo.keys.UP_ARROW

    • type
      Number
  • dojo.keys.RIGHT_ARROW

    • type
      Number
  • dojo.keys.DOWN_ARROW

    • type
      Number
  • dojo.keys.INSERT

    • type
      Number
  • dojo.keys.DELETE

    • type
      Number
  • dojo.keys.HELP

    • type
      Number
  • dojo.keys.LEFT_WINDOW

    • type
      Number
  • dojo.keys.RIGHT_WINDOW

    • type
      Number
  • dojo.keys.SELECT

    • type
      Number
  • dojo.keys.NUMPAD_0

    • type
      Number
  • dojo.keys.NUMPAD_1

    • type
      Number
  • dojo.keys.NUMPAD_2

    • type
      Number
  • dojo.keys.NUMPAD_3

    • type
      Number
  • dojo.keys.NUMPAD_4

    • type
      Number
  • dojo.keys.NUMPAD_5

    • type
      Number
  • dojo.keys.NUMPAD_6

    • type
      Number
  • dojo.keys.NUMPAD_7

    • type
      Number
  • dojo.keys.NUMPAD_8

    • type
      Number
  • dojo.keys.NUMPAD_9

    • type
      Number
  • dojo.keys.NUMPAD_MULTIPLY

    • type
      Number
  • dojo.keys.NUMPAD_PLUS

    • type
      Number
  • dojo.keys.NUMPAD_ENTER

    • type
      Number
  • dojo.keys.NUMPAD_MINUS

    • type
      Number
  • dojo.keys.NUMPAD_PERIOD

    • type
      Number
  • dojo.keys.NUMPAD_DIVIDE

    • type
      Number
  • dojo.keys.F1

    • type
      Number
  • dojo.keys.F2

    • type
      Number
  • dojo.keys.F3

    • type
      Number
  • dojo.keys.F4

    • type
      Number
  • dojo.keys.F5

    • type
      Number
  • dojo.keys.F6

    • type
      Number
  • dojo.keys.F7

    • type
      Number
  • dojo.keys.F8

    • type
      Number
  • dojo.keys.F9

    • type
      Number
  • dojo.keys.F10

    • type
      Number
  • dojo.keys.F11

    • type
      Number
  • dojo.keys.F12

    • type
      Number
  • dojo.keys.F13

    • type
      Number
  • dojo.keys.F14

    • type
      Number
  • dojo.keys.F15

    • type
      Number
  • dojo.keys.NUM_LOCK

    • type
      Number
  • dojo.keys.SCROLL_LOCK

    • type
      Number
  • dojo.keys.copyKey

  • dojo.isCopyKey

    • parameters:
      • e: (typeof Event)
        Event object to examine
    • returns
      Boolean
    • summary
      Checks an event for the copy key (meta on Mac, and ctrl anywhere else)
    • type
      Function
  • dojo.mouseButtons

    • type
      Object
  • dojo.mouseButtons.LEFT

    • type
      Number
    • summary
      Numeric value of the left mouse button for the platform.
  • dojo.mouseButtons.MIDDLE

    • type
      Number
    • summary
      Numeric value of the middle mouse button for the platform.
  • dojo.mouseButtons.RIGHT

    • type
      Number
    • summary
      Numeric value of the right mouse button for the platform.
  • dojo.mouseButtons.isButton

    • parameters:
      • e: (typeof Event)
        Event object to examine
      • button: (typeof Number)
        The button value (example: dojo.mouseButton.LEFT)
    • returns
      Boolean
    • summary
      Checks an event object for a pressed button
    • type
      Function
  • dojo.mouseButtons.isLeft

    • parameters:
      • e: (typeof Event)
        Event object to examine
    • returns
      Boolean
    • summary
      Checks an event object for the pressed left button
    • type
      Function
  • dojo.mouseButtons.isMiddle

    • parameters:
      • e: (typeof Event)
        Event object to examine
    • returns
      Boolean
    • summary
      Checks an event object for the pressed middle button
    • type
      Function
  • dojo.mouseButtons.isRight

    • parameters:
      • e: (typeof Event)
        Event object to examine
    • returns
      Boolean
    • summary
      Checks an event object for the pressed right button
    • type
      Function
  • dojo._ieListenersName

    • type
      String
  • dojo._ie_listener

    • type
      Object
  • dojo._ie_listener.handlers

    • alias - dojo._ie_listener.handlers
    • type
      Array
  • dojo._ie_listener.add

    • parameters:
      • source: (typeof Object)
      • method: (typeof String)
      • listener: (typeof Function)
    • type
      Function
  • dojo._ie_listener.remove

    • parameters:
      • source: (typeof Object)
      • method: (typeof String)
      • handle: (typeof Handle)
    • type
      Function
  • dojo._ieDispatcher

    • parameters:
      • args
      • sender
    • type
      Function
  • Array

    • alias - Array.prototype
  • dojo._getIeDispatcher

    • returns
      function
    • type
      Function
  • dojo._base.event

    • type
      Object
  • dojo._base

    • type
      Object
  • dojo

    • type
      Object