trait JQueryEventObject extends Event
The facade over an event from JQuery.
- Annotations
- @RawJSType() @native()
- Alphabetic
- By Inheritance
- JQueryEventObject
- Event
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def altKey: UndefOr[Boolean]
Is the alt key pressed? Only defined on certain events.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def bubbles: Boolean
- Definition Classes
- Event
- def cancelBubble: Boolean
- Definition Classes
- Event
- def cancelable: Boolean
- Definition Classes
- Event
- def clientX: UndefOr[Int]
Provides the horizontal coordinate within the application's client area at which the event occurred (as opposed to the coordinates within the page).
Provides the horizontal coordinate within the application's client area at which the event occurred (as opposed to the coordinates within the page).
Only defined on certain events.
- def clientY: UndefOr[Int]
Provides the vertical coordinate within the application's client area at which the event occurred (as opposed to the coordinates within the page).
Provides the vertical coordinate within the application's client area at which the event occurred (as opposed to the coordinates within the page).
Only defined on certain events.
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def ctrlKey: UndefOr[Boolean]
Is the ctrl key pressed? Only defined on certain events.
- def currentTarget: EventTarget
- Definition Classes
- Event
- def data: Any
An optional object of data passed to an event method when the current executing handler is bound.
- def defaultPrevented: Boolean
- Definition Classes
- Event
- def delegateTarget: Element
The element where the currently-called jQuery event handler was attached.
- def detail: Any
Returns additional numerical information about the event, depending on the type of event.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def eventPhase: Int
- Definition Classes
- Event
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def isDefaultPrevented(): Boolean
Returns whether event.preventDefault() was ever called on this event object.
- def isImmediatePropagationStopped(): Boolean
Returns whether event.stopImmediatePropagation() was ever called on this event object.
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isPropagationStopped(): Boolean
Returns whether event.stopPropagation() was ever called on this event object.
- def isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
- def isTrusted: Boolean
- Definition Classes
- Event
- def metaKey: Boolean
Indicates whether the META key was pressed when the event fired.
- def namespace: String
The namespace specified when the event was triggered.
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def offsetX: UndefOr[Int]
Provides the offset in the X coordinate of the mouse pointer between that event and the padding edge of the target node.
- def offsetY: UndefOr[Int]
Provides the offset in the Y coordinate of the mouse pointer between that event and the padding edge of the target node.
- def pageX: Int
The mouse position relative to the left edge of the document.
- def pageY: Int
The mouse position relative to the top edge of the document.
- def preventDefault(): Unit
If this method is called, the default action of the event will not be triggered.
If this method is called, the default action of the event will not be triggered.
- Definition Classes
- JQueryEventObject → Event
- def propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
- def relatedTarget: Element
The other DOM element involved in the event, if any.
- def result: UndefOr[Any]
The last value returned by an event handler that was triggered by this event, unless the value was undefined.
- def screenX: UndefOr[Int]
Provides the horizontal coordinate of the mouse pointer in global (screen) coordinates.
Provides the horizontal coordinate of the mouse pointer in global (screen) coordinates. Only defined on certain events.
- def screenY: UndefOr[Int]
Provides the vertical coordinate of the mouse pointer in global (screen) coordinates.
Provides the vertical coordinate of the mouse pointer in global (screen) coordinates. Only defined on certain events.
- def shiftKey: UndefOr[Boolean]
Is the shift key pressed? Only defined on certain events.
- def stopImmediatePropagation(): Unit
Keeps the rest of the handlers from being executed and prevents the event from bubbling up the DOM tree.
Keeps the rest of the handlers from being executed and prevents the event from bubbling up the DOM tree.
- Definition Classes
- JQueryEventObject → Event
- def stopPropagation(): Unit
Prevents the event from bubbling up the DOM tree, preventing any parent handlers from being notified of the event.
Prevents the event from bubbling up the DOM tree, preventing any parent handlers from being notified of the event.
- Definition Classes
- JQueryEventObject → Event
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def target: EventTarget
- Definition Classes
- Event
- def timeStamp: Double
- Definition Classes
- Event
- def toLocaleString(): String
- Definition Classes
- Object
- def toString(): String
- Definition Classes
- AnyRef → Any
- def type: String
- Definition Classes
- Event
- def valueOf(): Any
- Definition Classes
- Object
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def which: Int
For key or mouse events, this property indicates the specific key or button that was pressed.
Deprecated Value Members
- def initEvent(eventTypeArg: String, canBubbleArg: Boolean, cancelableArg: Boolean): Unit
- Definition Classes
- Event
- Annotations
- @deprecated
- Deprecated
(Since version forever) Non-standard
- def srcElement: Element
- Definition Classes
- Event
- Annotations
- @deprecated
- Deprecated
(Since version forever) Non standard.