Trait

io.scalajs.jquery

JQueryElement

Related Doc: package jquery

Permalink

trait JQueryElement extends Array[Element] with Element with JQCss with JQEffects with JQEvents with JQHtml with JQTraversal

JQuery Element

Annotations
@RawJSType() @native()
Linear Supertypes
JQTraversal, JQHtml, JQEvents, JQEffects, JQCss, Element, ParentNode, Node, Array[Element], Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JQueryElement
  2. JQTraversal
  3. JQHtml
  4. JQEvents
  5. JQEffects
  6. JQCss
  7. Element
  8. ParentNode
  9. Node
  10. Array
  11. Object
  12. Any
  13. AnyRef
  14. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def add(element: |[|[|[Element, Selector], CSSSelector], Any], context: |[Element, Any] = js.native): JQueryElement.this.type

    Permalink

    The add() method adds elements to an existing group of elements.

    The add() method adds elements to an existing group of elements.

    element

    Required. Specifies a selector expression, a jQuery object, one or more elements or an HTML snippet to be added to an existing group of elements

    context

    Optional. Specifies the point in the document at which the selector expression should begin matching

    returns

    self reference

    Definition Classes
    JQTraversal
  5. def addBack(selector: Selector = js.native): JQueryElement.this.type

    Permalink

    Add the previous set of elements on the stack to the current set, optionally filtered by a selector.

    Add the previous set of elements on the stack to the current set, optionally filtered by a selector.

    selector

    A string containing a selector expression to match the current set of elements against.

    returns

    self reference

    Definition Classes
    JQTraversal
  6. def addClass(className: |[String, Function2[Int, String, String]]): JQueryElement.this.type

    Permalink

    Adds one or more classes to the selected elements

    Adds one or more classes to the selected elements

    className

    One or more space-separated classes to be added to the class attribute of each matched element.

    Definition Classes
    JQCss
  7. def after(content: Any): JQueryElement.this.type

    Permalink

    Inserts content after the selected elements

    Inserts content after the selected elements

    content

    the specified content

    Definition Classes
    JQHtml
  8. def animate(params: |[AnimateOptions, Any], speed: |[String, Int] = js.native, callback: Function): JQueryElement.this.type

    Permalink

    The jQuery animate() method is used to create custom animations.

    The jQuery animate() method is used to create custom animations.

    params

    the given animation options / parameters

    speed

    The optional speed parameter can take the following values: "slow", "fast", or milliseconds.

    callback

    The optional callback parameter is a function to be executed after toggle() completes.

    Definition Classes
    JQEffects
  9. def append(content: Any): JQueryElement.this.type

    Permalink

    Inserts content at the end of the selected elements

    Inserts content at the end of the selected elements

    content

    the specified content

    Definition Classes
    JQHtml
  10. def append(nodes: |[Node, String]*): JQueryElement.this.type

    Permalink
    Definition Classes
    ParentNode
  11. def appendChild(node: Node): Node

    Permalink
    Definition Classes
    Node
  12. def apply(index: Int): Element

    Permalink
    Definition Classes
    Array
    Annotations
    @JSBracketAccess()
  13. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  14. def attr(name: String, function: Function2[Int, String, String]): JQueryElement.this.type

    Permalink

    The jQuery attr() method is also used to set/change attribute values.

    The jQuery attr() method is also used to set/change attribute values.

    name

    the name of the attribute to set

    Definition Classes
    JQHtml
  15. def attr(name: String, value: |[String, Int]): JQueryElement.this.type

    Permalink

    The jQuery attr() method is also used to set/change attribute values.

    The jQuery attr() method is also used to set/change attribute values.

    name

    the name of the attribute to set

    Definition Classes
    JQHtml
  16. def attr(name: |[String, Any]): String

    Permalink

    The jQuery attr() method is used to get attribute values.

    The jQuery attr() method is used to get attribute values.

    name

    the name of the attribute to get

    returns

    the attribute values.

    Definition Classes
    JQHtml
  17. def attributes: NamedNodeMap[Attr]

    Permalink
    Definition Classes
    Node
  18. def before(content: Any): JQueryElement.this.type

    Permalink

    Inserts content before the selected elements

    Inserts content before the selected elements

    content

    the specified content

    Definition Classes
    JQHtml
  19. def bind(event: String, data: Any = js.native, function: Function, map: Any = js.native): JQueryElement.this.type

    Permalink

    The bind() method attaches one or more event handlers for selected elements, and specifies a function to run when the event occurs.

    The bind() method attaches one or more event handlers for selected elements, and specifies a function to run when the event occurs.

    event

    Required. Specifies one or more events to attach to the elements. Multiple event values are separated by space. Must be a valid event.

    data

    Optional. Specifies additional data to pass along to the function

    function

    Required. Specifies the function to run when the event occurs

    map

    Specifies an event map ({event:function, event:function, ...}) containing one or more events to attach to the elements, and functions to run when the event occurs

    Definition Classes
    JQEvents
  20. def blur(eventData: Any, handler: Function1[Event, Any]): JQueryElement.this.type

    Permalink

    Bind an event handler to the "blur" JavaScript event, or trigger that event on an element.

    Bind an event handler to the "blur" JavaScript event, or trigger that event on an element.

    eventData

    An object containing data that will be passed to the event handler.

    handler

    A function to execute each time the event is triggered.

    Definition Classes
    JQEvents
  21. def blur(handler: Function1[Event, Any] = js.native): JQueryElement.this.type

    Permalink

    Bind an event handler to the "blur" JavaScript event, or trigger that event on an element.

    Bind an event handler to the "blur" JavaScript event, or trigger that event on an element.

    handler

    A function to execute each time the event is triggered.

    Definition Classes
    JQEvents
  22. def change(callback: Function1[Event, Any] = js.native): JQueryElement.this.type

    Permalink

    Bind an event handler to the "change" JavaScript event, or trigger that event on an element.

    Bind an event handler to the "change" JavaScript event, or trigger that event on an element.

    callback

    A function to execute each time the event is triggered.

    Definition Classes
    JQEvents
  23. def checked: Boolean

    Permalink

    TODO

    TODO

    Definition Classes
    JQHtml
  24. def childElementCount: UnsignedLong

    Permalink
    Definition Classes
    ParentNode
  25. def childNodes[T <: Node]: NodeList[T]

    Permalink
    Definition Classes
    Node
  26. def children(selector: Selector = js.native): JQueryElement.this.type

    Permalink

    Get the children of each element in the set of matched elements, optionally filtered by a selector.

    Get the children of each element in the set of matched elements, optionally filtered by a selector.

    selector

    A string containing a selector expression to match elements against.

    returns

    self reference

    Definition Classes
    JQTraversal
  27. def children: HTMLCollection[Element]

    Permalink
    Definition Classes
    ParentNode
  28. def click(callback: Function1[Event, Any] = js.native): JQueryElement.this.type

    Permalink

    The click event occurs when an element is clicked.

    The click event occurs when an element is clicked. The click() method triggers the click event, or attaches a function to run when a click event occurs.

    callback

    the callback/handler function

    Definition Classes
    JQEvents
  29. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. def cloneNode(deep: Boolean): JQueryElement.this.type

    Permalink
    Definition Classes
    Node
  31. def closest(element: Element): JQueryElement.this.type

    Permalink

    For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.

    For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.

    element

    An element to match elements against.

    returns

    self reference

    Definition Classes
    JQTraversal
  32. def closest(selector: Selector, context: |[Element, Any] = js.native): JQueryElement.this.type

    Permalink

    For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.

    For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.

    selector

    A string containing a selector expression to match elements against

    context

    An element to match elements against.

    returns

    self reference

    Definition Classes
    JQTraversal
  33. def concat[B >: Element](items: Array[_ <: B]*): Array[B]

    Permalink
    Definition Classes
    Array
  34. def css(propertyName: String, value: |[String, Double]): JQueryElement.this.type

    Permalink

    Sets or returns the style attribute

    Sets or returns the style attribute

    propertyName

    A CSS property name.

    value

    A value to set for the property.

    Definition Classes
    JQCss
  35. def css(propertyNames: Array[String]): String

    Permalink

    Get the computed style properties for the first element in the set of matched elements.

    Get the computed style properties for the first element in the set of matched elements.

    propertyNames

    An array of one or more CSS properties.

    Definition Classes
    JQCss
  36. def css(propertyName: String): String

    Permalink

    Get the computed style properties for the first element in the set of matched elements.

    Get the computed style properties for the first element in the set of matched elements.

    propertyName

    A CSS property name.

    returns

    the style property value

    Definition Classes
    JQCss
  37. def die(events: Any): JQueryElement.this.type

    Permalink

    A plain object of one or more event types, such as click or keydown and their corresponding functions that are no longer to be executed.

    A plain object of one or more event types, such as click or keydown and their corresponding functions that are no longer to be executed.

    Definition Classes
    JQEvents
  38. def die(eventType: String, handler: Function1[Event, Any] = js.native): JQueryElement.this.type

    Permalink

    Remove event handlers previously attached using .live() from the elements.

    Remove event handlers previously attached using .live() from the elements.

    eventType

    A string containing a JavaScript event type, such as click or keydown.

    handler

    The function that is no longer to be executed.

    Definition Classes
    JQEvents
  39. def die(): JQueryElement.this.type

    Permalink

    Remove event handlers previously attached using .live() from the elements.

    Remove event handlers previously attached using .live() from the elements.

    Definition Classes
    JQEvents
  40. def empty(): JQueryElement.this.type

    Permalink

    Removes the child elements from the selected element

    Removes the child elements from the selected element

    Definition Classes
    JQHtml
  41. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  42. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  43. def fadeIn(speed: |[String, Int] = js.native, callback: Function = js.native): JQueryElement.this.type

    Permalink

    The jQuery fadeIn() method is used to fade in a hidden element.

    The jQuery fadeIn() method is used to fade in a hidden element.

    speed

    The optional speed parameter can take the following values: "slow", "fast", or milliseconds.

    callback

    The optional callback parameter is a function to be executed after toggle() completes.

    Definition Classes
    JQEffects
  44. def fadeOut(speed: |[String, Int] = js.native, callback: Function = js.native): JQueryElement.this.type

    Permalink

    The jQuery fadeOut() method is used to fade out a visible element.

    The jQuery fadeOut() method is used to fade out a visible element.

    speed

    The optional speed parameter can take the following values: "slow", "fast", or milliseconds.

    callback

    The optional callback parameter is a function to be executed after toggle() completes.

    Definition Classes
    JQEffects
  45. def fadeToggle(speed: |[String, Int] = js.native, callback: Function = js.native): JQueryElement.this.type

    Permalink

    The jQuery fadeToggle() method toggles between the fadeIn() and fadeOut() methods.

    The jQuery fadeToggle() method toggles between the fadeIn() and fadeOut() methods.

    speed

    The optional speed parameter can take the following values: "slow", "fast", or milliseconds.

    callback

    The optional callback parameter is a function to be executed after toggle() completes.

    Definition Classes
    JQEffects
  46. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  47. def find(element: Element): JQueryElement.this.type

    Permalink

    Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element.

    Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element.

    element

    An element or a jQuery object to match elements against.

    returns

    self reference

    Definition Classes
    JQTraversal
  48. def find(selector: Selector): JQueryElement.this.type

    Permalink

    Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element.

    Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element.

    selector

    A string containing a selector expression to match elements against.

    returns

    self reference

    Definition Classes
    JQTraversal
  49. def firstChild[T <: Node]: T

    Permalink
    Definition Classes
    Node
  50. def firstElementChild: Element

    Permalink
    Definition Classes
    ParentNode
  51. def getAttribute(name: String): String

    Permalink
    Definition Classes
    Element
  52. def getAttributeNS(namespace: String, name: String): Attr

    Permalink
    Definition Classes
    Element
  53. def getAttributeNode(name: String): Attr

    Permalink
    Definition Classes
    Element
  54. def getAttributeNodeNS(namespace: String, name: String): Attr

    Permalink
    Definition Classes
    Element
  55. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  56. def getElementsByTagName[T <: Element](name: String): HTMLCollection[T]

    Permalink
    Definition Classes
    Element
  57. def getElementsByTagNameNS[T <: Element](namespace: String, name: String): HTMLCollection[T]

    Permalink
    Definition Classes
    Element
  58. def hasAttribute(namespace: String, name: String): Boolean

    Permalink
    Definition Classes
    Element
  59. def hasAttribute(name: String): Boolean

    Permalink
    Definition Classes
    Element
  60. def hasAttributes(): Boolean

    Permalink
    Definition Classes
    Node
  61. def hasChildNodes(): Boolean

    Permalink
    Definition Classes
    Node
  62. def hasClass(className: String): Boolean

    Permalink

    Determine whether any of the matched elements are assigned the given class.

    Determine whether any of the matched elements are assigned the given class.

    className

    The class name to search for.

    returns

    true, if any of the matched elements are assigned the given class.

    Definition Classes
    JQCss
  63. def hasOwnProperty(v: String): Boolean

    Permalink
    Definition Classes
    Object
  64. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  65. def height(value: |[|[String, Double], Function]): JQueryElement.this.type

    Permalink

    Sets the height of an element (excludes padding, border and margin).

    Sets the height of an element (excludes padding, border and margin).

    value

    the given string, numeric or function value

    Definition Classes
    JQCss
  66. def height(): Integer

    Permalink

    Get the current computed height for the first element in the set of matched elements or set the height of every matched element.

    Get the current computed height for the first element in the set of matched elements or set the height of every matched element.

    returns

    the height of an element

    Definition Classes
    JQCss
  67. def hide(speed: |[String, Int] = js.native, callback: Function = js.native): JQueryElement.this.type

    Permalink

    Shows an invisible HTML element

    Shows an invisible HTML element

    speed

    The optional speed parameter can take the following values: "slow", "fast", or milliseconds.

    callback

    The optional callback parameter is a function to be executed after toggle() completes.

    Definition Classes
    JQEffects
  68. def html(element: |[|[String, Element], Any]): JQueryElement.this.type

    Permalink

    Sets or returns the content of selected elements (including HTML markup)

    Sets or returns the content of selected elements (including HTML markup)

    element

    the element or value

    Definition Classes
    JQHtml
  69. def html(): Element

    Permalink

    Sets or returns the content of selected elements (including HTML markup)

    Sets or returns the content of selected elements (including HTML markup)

    returns

    the element

    Definition Classes
    JQHtml
  70. def innerHeight(value: |[|[String, Double], Function]): JQueryElement.this.type

    Permalink

    Set the CSS inner height of each element in the set of matched elements.

    Set the CSS inner height of each element in the set of matched elements.

    value

    the given string, numeric or function value

    Definition Classes
    JQCss
  71. def innerHeight(): Integer

    Permalink

    Get the current computed inner height (including padding but not border) for the first element in the set of matched elements or set the inner height of every matched element.

    Get the current computed inner height (including padding but not border) for the first element in the set of matched elements or set the inner height of every matched element.

    returns

    the computed inner height

    Definition Classes
    JQCss
  72. def innerWidth(value: |[|[String, Double], Function]): JQueryElement.this.type

    Permalink

    Set the CSS inner width of each element in the set of matched elements.

    Set the CSS inner width of each element in the set of matched elements.

    value

    the given string, numeric or function value

    Definition Classes
    JQCss
  73. def innerWidth(): Integer

    Permalink

    Get the current computed inner width (including padding but not border) for the first element in the set of matched elements or set the inner width of every matched element.

    Get the current computed inner width (including padding but not border) for the first element in the set of matched elements or set the inner width of every matched element.

    returns

    the computed inner width

    Definition Classes
    JQCss
  74. def insertBefore(newNode: Node, existingChild: Node): Node

    Permalink
    Definition Classes
    Node
  75. def is(function: Function): Boolean

    Permalink

    Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given arguments.

    Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given arguments.

    function

    A function used as a test for every element in the set. It accepts two arguments, index, which is the element's index in the jQuery collection, and element, which is the DOM element. Within the function, this refers to the current DOM element.

    returns

    true if at least one of these elements matches the given arguments.

    Definition Classes
    JQTraversal
  76. def is(selector: Selector): Boolean

    Permalink

    Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given arguments.

    Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given arguments.

    selector

    A string containing a selector expression to match elements against.

    returns

    true if at least one of these elements matches the given arguments.

    Definition Classes
    JQTraversal
  77. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  78. def isPrototypeOf(v: Object): Boolean

    Permalink
    Definition Classes
    Object
  79. def isSupported(feature: String, version: String): Boolean

    Permalink
    Definition Classes
    Node
  80. def join(seperator: String): String

    Permalink
    Definition Classes
    Array
  81. def jsSlice(start: Int, end: Int): Array[Element]

    Permalink
    Definition Classes
    Array
    Annotations
    @JSName( "slice" )
  82. def lastChild: Node

    Permalink
    Definition Classes
    Node
  83. def lastElementChild: Element

    Permalink
    Definition Classes
    ParentNode
  84. def length: Int

    Permalink
    Definition Classes
    Array
  85. def length_=(v: Int): Unit

    Permalink
    Definition Classes
    Array
  86. def localName: String

    Permalink
    Definition Classes
    Node
  87. def namespaceURI: String

    Permalink
    Definition Classes
    Node
  88. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  89. def next(selector: Selector = js.native): JQueryElement.this.type

    Permalink

    Get the immediately following sibling of each element in the set of matched elements.

    Get the immediately following sibling of each element in the set of matched elements. If a selector is provided, it retrieves the next sibling only if it matches that selector.

    selector

    A string containing a selector expression to match elements against.

    returns

    self reference

    Definition Classes
    JQTraversal
  90. def nextAll(selector: Selector = js.native): JQueryElement.this.type

    Permalink

    Get all following siblings of each element in the set of matched elements, optionally filtered by a selector.

    Get all following siblings of each element in the set of matched elements, optionally filtered by a selector.

    selector

    A string containing a selector expression to match elements against.

    returns

    self reference

    Definition Classes
    JQTraversal
  91. def nextSibling: Node

    Permalink
    Definition Classes
    Node
  92. def nextUntil(selector: |[Selector, Node] = js.native, filter: String = js.native): JQueryElement.this.type

    Permalink

    Get all following siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object passed.

    Get all following siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object passed.

    selector

    A string containing a selector expression to indicate where to stop matching following sibling elements.

    filter

    A string containing a selector expression to match elements against.

    returns

    self reference

    Definition Classes
    JQTraversal
  93. def nodeName: String

    Permalink
    Definition Classes
    Node
  94. def nodeType: NodeType

    Permalink
    Definition Classes
    Node
  95. def nodeValue: Any

    Permalink
    Definition Classes
    Node
  96. def normalize(): Unit

    Permalink
    Definition Classes
    Node
  97. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  98. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  99. def offset(coordinates: |[|[Coordinates, Function], Any]): JQueryElement.this.type

    Permalink

    Set the current coordinates of every element in the set of matched elements, relative to the document.

    Set the current coordinates of every element in the set of matched elements, relative to the document.

    coordinates

    An object containing the properties top and left, which are numbers indicating the new top and left coordinates for the elements.

    Definition Classes
    JQCss
  100. def offset(): Coordinates

    Permalink

    Get the current coordinates of the first element in the set of matched elements, relative to the document.

    Get the current coordinates of the first element in the set of matched elements, relative to the document.

    returns

    the current coordinates of the first element in the set of matched elements

    Definition Classes
    JQCss
  101. def offsetParent(): JQueryElement.this.type

    Permalink

    Get the closest ancestor element that is positioned.

    Get the closest ancestor element that is positioned.

    returns

    self reference

    Definition Classes
    JQTraversal
  102. def outerHeight(value: |[|[String, Double], Function]): JQueryElement.this.type

    Permalink
    Definition Classes
    JQCss
  103. def outerHeight(): Integer

    Permalink
    Definition Classes
    JQCss
  104. def outerWidth(value: |[|[String, Double], Function]): JQueryElement.this.type

    Permalink
    Definition Classes
    JQCss
  105. def outerWidth(): Integer

    Permalink
    Definition Classes
    JQCss
  106. def ownerDocument: Document

    Permalink
    Definition Classes
    Node
  107. def parent(selector: Selector = js.native): JQueryElement.this.type

    Permalink

    Get the parent of each element in the current set of matched elements, optionally filtered by a selector.

    Get the parent of each element in the current set of matched elements, optionally filtered by a selector.

    selector

    A string containing a selector expression to match elements against.

    returns

    self reference

    Definition Classes
    JQTraversal
  108. def parentNode: Node

    Permalink
    Definition Classes
    Node
  109. def parents(selector: Selector = js.native): JQueryElement.this.type

    Permalink

    Get the ancestors of each element in the current set of matched elements, optionally filtered by a selector.

    Get the ancestors of each element in the current set of matched elements, optionally filtered by a selector.

    selector

    A string containing a selector expression to match elements against.

    returns

    self reference

    Definition Classes
    JQTraversal
  110. def parentsUntil(selector: |[Selector, Node] = js.native, filter: String = js.native): JQueryElement.this.type

    Permalink

    Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector, DOM node, or jQuery object.

    Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector, DOM node, or jQuery object.

    selector

    Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector, DOM node, or jQuery object.

    filter

    A string containing a selector expression to match elements against.

    returns

    self reference

    Definition Classes
    JQTraversal
  111. def pop(): Element

    Permalink
    Definition Classes
    Array
  112. def position(): Coordinates

    Permalink

    Get the current coordinates of the first element in the set of matched elements, relative to the offset parent.

    Get the current coordinates of the first element in the set of matched elements, relative to the offset parent.

    returns

    the current coordinates of the first element in the set of matched elements

    Definition Classes
    JQCss
  113. def prefix: String

    Permalink
    Definition Classes
    Node
  114. def prepend(content: Any): JQueryElement.this.type

    Permalink

    Inserts content at the beginning of the selected elements

    Inserts content at the beginning of the selected elements

    content

    the specified content

    Definition Classes
    JQHtml
  115. def prepend(nodes: |[Node, String]*): JQueryElement.this.type

    Permalink
    Definition Classes
    ParentNode
  116. def prev(selector: Selector = js.native): JQueryElement.this.type

    Permalink

    Get the immediately preceding sibling of each element in the set of matched elements.

    Get the immediately preceding sibling of each element in the set of matched elements. If a selector is provided, it retrieves the previous sibling only if it matches that selector.

    selector

    A string containing a selector expression to match elements against.

    returns

    self reference

    Definition Classes
    JQTraversal
  117. def prevAll(selector: Selector = js.native): JQueryElement.this.type

    Permalink

    Get all preceding siblings of each element in the set of matched elements, optionally filtered by a selector.

    Get all preceding siblings of each element in the set of matched elements, optionally filtered by a selector.

    selector

    A string containing a selector expression to match elements against.

    returns

    self reference

    Definition Classes
    JQTraversal
  118. def prevUntil(selector: |[Selector, Node] = js.native, filter: String = js.native): JQueryElement.this.type

    Permalink

    Get all preceding siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object.

    Get all preceding siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object.

    selector

    Get all preceding siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object.

    returns

    self reference

    Definition Classes
    JQTraversal
  119. def previousSibling: Node

    Permalink
    Definition Classes
    Node
  120. def prop(name: String, value: Any): JQueryElement.this.type

    Permalink
    Definition Classes
    JQHtml
  121. def prop(name: String): Boolean

    Permalink

    TODO

    TODO

    Definition Classes
    JQHtml
  122. def propertyIsEnumerable(v: String): Boolean

    Permalink
    Definition Classes
    Object
  123. def push(items: Element*): Int

    Permalink
    Definition Classes
    Array
  124. def ready(callback: Function): JQueryElement.this.type

    Permalink

    Specify a function to execute when the DOM is fully loaded.

    Specify a function to execute when the DOM is fully loaded.

    callback

    A function to execute after the DOM is ready.

    Definition Classes
    JQEvents
  125. def remove(): JQueryElement.this.type

    Permalink

    Removes the selected element (and its child elements)

    Removes the selected element (and its child elements)

    Definition Classes
    JQHtml
  126. def removeAttribute(name: String): Unit

    Permalink
    Definition Classes
    Element
  127. def removeAttributeNS(namespace: String, name: String): Unit

    Permalink
    Definition Classes
    Element
  128. def removeAttributeNode(attr: Attr): Attr

    Permalink
    Definition Classes
    Element
  129. def removeChild(oldNode: Node): Unit

    Permalink
    Definition Classes
    Node
  130. def removeClass(className: |[String, Function]): JQueryElement.this.type

    Permalink

    Removes one or more classes from the selected elements

    Removes one or more classes from the selected elements

    Definition Classes
    JQCss
  131. def replaceChild(newChild: Node, existingChild: Node): Node

    Permalink
    Definition Classes
    Node
  132. def reverseInPlace(): Array[Element]

    Permalink
    Definition Classes
    Array
    Annotations
    @JSName( "reverse" )
  133. def scrollLeft(value: Double): JQueryElement.this.type

    Permalink

    The horizontal scroll position is the same as the number of pixels that are hidden from view above the scrollable area.

    The horizontal scroll position is the same as the number of pixels that are hidden from view above the scrollable area. Setting the scrollLeft positions the horizontal scroll of each matched element.

    value

    An integer indicating the new position to set the scroll bar to.

    Definition Classes
    JQCss
  134. def scrollLeft(): Integer

    Permalink

    Get the current horizontal position of the scroll bar for the first element in the set of matched elements or set the horizontal position of the scroll bar for every matched element.

    Get the current horizontal position of the scroll bar for the first element in the set of matched elements or set the horizontal position of the scroll bar for every matched element.

    Definition Classes
    JQCss
  135. def scrollTop(value: Double): JQueryElement.this.type

    Permalink

    Set the current vertical position of the scroll bar for each of the set of matched elements.

    Set the current vertical position of the scroll bar for each of the set of matched elements.

    value

    A number indicating the new position to set the scroll bar to.

    Definition Classes
    JQCss
  136. def scrollTop(): Integer

    Permalink

    Get the current vertical position of the scroll bar for the first element in the set of matched elements or set the vertical position of the scroll bar for every matched element.

    Get the current vertical position of the scroll bar for the first element in the set of matched elements or set the vertical position of the scroll bar for every matched element.

    returns

    the current vertical position of the scroll bar

    Definition Classes
    JQCss
  137. def setAttribute(name: String, value: Any): Unit

    Permalink
    Definition Classes
    Element
  138. def setAttributeNS(namespace: String, name: String, value: Any): Unit

    Permalink
    Definition Classes
    Element
  139. def setAttributeNode(attr: Attr): Attr

    Permalink
    Definition Classes
    Element
  140. def setAttributeNodeNS(attr: Attr): Attr

    Permalink
    Definition Classes
    Element
  141. def shift(): Element

    Permalink
    Definition Classes
    Array
  142. def show(speed: |[String, Int] = js.native, callback: Function = js.native): JQueryElement.this.type

    Permalink

    Hides a visible HTML element

    Hides a visible HTML element

    speed

    The optional speed parameter can take the following values: "slow", "fast", or milliseconds.

    callback

    The optional callback parameter is a function to be executed after toggle() completes.

    Definition Classes
    JQEffects
  143. def siblings(selector: Selector = js.native): JQueryElement.this.type

    Permalink

    * Get the siblings of each element in the set of matched elements, optionally filtered by a selector.

    * Get the siblings of each element in the set of matched elements, optionally filtered by a selector.

    selector

    A string containing a selector expression to match elements against.

    returns

    self reference

    Definition Classes
    JQTraversal
  144. def slideDown(speed: |[String, Int] = js.native, callback: Function = js.native): JQueryElement.this.type

    Permalink

    The jQuery slideDown() method is used to slide down an element.

    The jQuery slideDown() method is used to slide down an element.

    speed

    The optional speed parameter can take the following values: "slow", "fast", or milliseconds.

    callback

    The optional callback parameter is a function to be executed after toggle() completes.

    Definition Classes
    JQEffects
  145. def slideToggle(speed: |[String, Int] = js.native, callback: Function = js.native): JQueryElement.this.type

    Permalink

    The jQuery slideToggle() method toggles between the slideDown() and slideUp() methods.

    The jQuery slideToggle() method toggles between the slideDown() and slideUp() methods.

    speed

    The optional speed parameter can take the following values: "slow", "fast", or milliseconds.

    callback

    The optional callback parameter is a function to be executed after toggle() completes.

    Definition Classes
    JQEffects
  146. def slideUp(speed: |[String, Int] = js.native, callback: Function = js.native): JQueryElement.this.type

    Permalink

    The jQuery slideUp() method is used to slide up an element.

    The jQuery slideUp() method is used to slide up an element.

    speed

    The optional speed parameter can take the following values: "slow", "fast", or milliseconds.

    callback

    The optional callback parameter is a function to be executed after toggle() completes.

    Definition Classes
    JQEffects
  147. def sort(compareFn: Function2[Element, Element, Int]): Array[Element]

    Permalink
    Definition Classes
    Array
  148. def splice(index: Int, deleteCount: Int, items: Element*): Array[Element]

    Permalink
    Definition Classes
    Array
  149. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  150. def tagName: String

    Permalink
    Definition Classes
    Element
  151. def text(value: |[String, Any]): JQueryElement.this.type

    Permalink

    Sets or returns the text content of selected elements

    Sets or returns the text content of selected elements

    value

    the value attribute

    Definition Classes
    JQHtml
  152. def text(): String

    Permalink

    Sets or returns the text content of selected elements

    Sets or returns the text content of selected elements

    returns

    the value attribute of the selected elements.

    Definition Classes
    JQHtml
  153. def toLocaleString(): String

    Permalink
    Definition Classes
    Object
  154. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  155. def toggle(speed: |[String, Int] = js.native, callback: Function = js.native): JQueryElement.this.type

    Permalink

    Toggles between the hide() and show() methods.

    Toggles between the hide() and show() methods.

    speed

    The optional speed parameter can take the following values: "slow", "fast", or milliseconds.

    callback

    The optional callback parameter is a function to be executed after toggle() completes.

    Definition Classes
    JQEffects
  156. def toggleClass(className: String, state: |[Boolean, Function]): JQueryElement.this.type

    Permalink

    Add or remove one or more classes from each element in the set of matched elements, depending on either the class's presence or the value of the state argument.

    Add or remove one or more classes from each element in the set of matched elements, depending on either the class's presence or the value of the state argument.

    className

    One or more class names (separated by spaces) to be toggled for each element in the matched set.

    state

    A boolean value to determine whether the class should be added or removed.

    Definition Classes
    JQCss
  157. def toggleClass(handler: Function): JQueryElement.this.type

    Permalink

    Add or remove one or more classes from each element in the set of matched elements, depending on either the class's presence or the value of the state argument.

    Add or remove one or more classes from each element in the set of matched elements, depending on either the class's presence or the value of the state argument.

    handler

    the handler function

    Definition Classes
    JQCss
  158. def toggleClass(className: String): JQueryElement.this.type

    Permalink

    Add or remove one or more classes from each element in the set of matched elements, depending on either the class's presence or the value of the state argument.

    Add or remove one or more classes from each element in the set of matched elements, depending on either the class's presence or the value of the state argument.

    className

    One or more class names (separated by spaces) to be toggled for each element in the matched set.

    Definition Classes
    JQCss
  159. def unshift(items: Element*): Int

    Permalink
    Definition Classes
    Array
  160. def update(index: Int, value: Element): Unit

    Permalink
    Definition Classes
    Array
    Annotations
    @JSBracketAccess()
  161. def val(value: Any): JQueryElement.this.type

    Permalink

    The val() method returns or sets the value attribute of the selected elements.

    The val() method returns or sets the value attribute of the selected elements.

    value

    the value attribute

    Definition Classes
    JQHtml
  162. def val(): Any

    Permalink

    The val() method returns or sets the value attribute of the selected elements.

    The val() method returns or sets the value attribute of the selected elements.

    returns

    the value attribute of the selected elements.

    Definition Classes
    JQHtml
  163. def valueOf(): Any

    Permalink
    Definition Classes
    Object
  164. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  165. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  166. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  167. def width(value: |[String, Double]): JQueryElement.this.type

    Permalink

    Sets the width of an element (excludes padding, border and margin).

    Sets the width of an element (excludes padding, border and margin).

    value

    the desired width of an element

    Definition Classes
    JQCss
  168. def width(): Integer

    Permalink

    Returns the width of an element (excludes padding, border and margin).

    Returns the width of an element (excludes padding, border and margin).

    returns

    the width of an element

    Definition Classes
    JQCss
  169. def wrap(function: Function): JQueryElement.this.type

    Permalink

    Wrap an HTML structure around each element in the set of matched elements.

    Wrap an HTML structure around each element in the set of matched elements.

    function

    A callback function returning the HTML content or jQuery object to wrap around the matched elements. Receives the index position of the element in the set as an argument. Within the function, this refers to the current element in the set.

    Definition Classes
    JQHtml
  170. def wrap(wrappingElement: |[Selector, Element]): JQueryElement.this.type

    Permalink

    Wrap an HTML structure around each element in the set of matched elements.

    Wrap an HTML structure around each element in the set of matched elements.

    wrappingElement

    A selector, element, HTML string, or jQuery object specifying the structure to wrap around the matched elements. When you pass a jQuery collection containing more than one element, or a selector matching more than one element, the first element will be used.

    Definition Classes
    JQHtml

Inherited from JQTraversal

Inherited from JQHtml

Inherited from JQEvents

Inherited from JQEffects

Inherited from JQCss

Inherited from Element

Inherited from ParentNode

Inherited from Node

Inherited from Array[Element]

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped