Trait

io.scalajs.jquery

JQCss

Related Doc: package jquery

Permalink

trait JQCss extends Object

jQuery CSS Functions

Annotations
@RawJSType() @native()
See also

http://www.w3schools.com/jquery/jquery_ref_html.asp

http://api.jquery.com/category/css/

Linear Supertypes
Object, Any, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JQCss
  2. Object
  3. Any
  4. AnyRef
  5. 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 addClass(className: |[String, Function2[Int, String, String]]): JQCss.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.

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def css(propertyName: String, value: |[String, Double]): JQCss.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.

  8. 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.

  9. 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

  10. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. 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.

  15. def hasOwnProperty(v: String): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  17. def height(value: |[|[String, Double], Function]): JQCss.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

  18. 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

  19. def innerHeight(value: |[|[String, Double], Function]): JQCss.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

  20. 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

  21. def innerWidth(value: |[|[String, Double], Function]): JQCss.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

  22. 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

  23. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    Object
  25. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  26. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  28. def offset(coordinates: |[|[Coordinates, Function], Any]): JQCss.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.

  29. 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

  30. def outerHeight(value: |[|[String, Double], Function]): JQCss.this.type

    Permalink
  31. def outerHeight(): Integer

    Permalink
  32. def outerWidth(value: |[|[String, Double], Function]): JQCss.this.type

    Permalink
  33. def outerWidth(): Integer

    Permalink
  34. 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

  35. def propertyIsEnumerable(v: String): Boolean

    Permalink
    Definition Classes
    Object
  36. def removeClass(className: |[String, Function]): JQCss.this.type

    Permalink

    Removes one or more classes from the selected elements

  37. def scrollLeft(value: Double): JQCss.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.

  38. 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.

  39. def scrollTop(value: Double): JQCss.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.

  40. 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

  41. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  42. def toLocaleString(): String

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

    Permalink
    Definition Classes
    AnyRef → Any
  44. def toggleClass(className: String, state: |[Boolean, Function]): JQCss.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.

  45. def toggleClass(handler: Function): JQCss.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

  46. def toggleClass(className: String): JQCss.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.

  47. def valueOf(): Any

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. def width(value: |[String, Double]): JQCss.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

  52. 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

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped