com.themillhousegroup.scoup

RichElement

class RichElement extends ClosestElement with DocumentPositioning with AttributeOption

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. RichElement
  2. AttributeOption
  3. DocumentPositioning
  4. ClosestElement
  5. ElementTarget
  6. Target
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RichElement(target: Element)

Value Members

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

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

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

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def attribute(name: String): Option[String]

    Definition Classes
    AttributeOption
  6. def attributeRegex(nameRegex: Regex): Option[String]

    Definition Classes
    AttributeOption
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def closest(selector: String): Elements

    For each element in the set, get the first elements that match 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 elements that match the selector by testing the element itself and traversing up through its ancestors in the DOM tree.

    returns

    an Elements (which may be empty)

    Definition Classes
    ClosestElement
    See also

    http://api.jquery.com/closest/

  9. def closestAfterOption(selector: String): Option[Element]

    Finds the first element that matches the selector by testing the element itself and then its ancestors, but ensuring that the element is located "after" (i.e.

    Finds the first element that matches the selector by testing the element itself and then its ancestors, but ensuring that the element is located "after" (i.e. closer to the bottom of the document) than "this" Element.

    selector

    Definition Classes
    ClosestElement
  10. def closestBeforeOption(selector: String): Option[Element]

    Finds the first element that matches the selector by testing the element itself and then its ancestors, but ensuring that the element is located "before" (i.e.

    Finds the first element that matches the selector by testing the element itself and then its ancestors, but ensuring that the element is located "before" (i.e. closer to the top of the document) than "this" Element.

    selector

    Definition Classes
    ClosestElement
  11. def closestOption(selector: String): Option[Element]

    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.

    returns

    a Some containing the first one found, or None

    Definition Classes
    ClosestElement
    See also

    http://api.jquery.com/closest/

  12. lazy val documentCoordinates: Seq[Int]

    Logic: - Recurse up my parents, recording the sibling index of each as an integer - Reverse the order of the integer sequence.

    Logic: - Recurse up my parents, recording the sibling index of each as an integer - Reverse the order of the integer sequence. These are my "co-ordinates" These can be used for before/after document position queries

    Definition Classes
    DocumentPositioning
  13. final def eq(arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  18. def isAfter(other: DocumentPositioning): Boolean

    Definition Classes
    DocumentPositioning
  19. def isBefore(other: DocumentPositioning): Boolean

    Definition Classes
    DocumentPositioning
  20. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. val target: Element

    Definition Classes
    RichElementTarget
  26. def toString(): String

    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AttributeOption

Inherited from DocumentPositioning

Inherited from ClosestElement

Inherited from ElementTarget

Inherited from Target[Element]

Inherited from AnyRef

Inherited from Any

Ungrouped