sealed trait Element extends Dom with CssSelectable
- Alphabetic
- By Inheritance
- Element
- CssSelectable
- Dom
- Modifier
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def addAttributes(attributes: Iterable[Attribute]): Element
- abstract def apply(modifiers: Iterable[Modifier]): Element
- abstract def attr(name: String, value: String): Element
- abstract def attr(name: String, value: AttributeValue): Element
Add or update an attribute
- abstract def attributes: Map[String, AttributeValue]
- abstract def canEqual(that: Any): Boolean
- Definition Classes
- Equals
- abstract def children: Vector[Dom]
- abstract def productArity: Int
- Definition Classes
- Product
- abstract def productElement(n: Int): Any
- Definition Classes
- Product
- abstract def removeAttr(name: String): Element
Remove an attribute
- abstract def replaceChildren(children: Dom*): Element
Replace all children
- abstract def shouldEscapeContent: Boolean
- Attributes
- protected
- abstract def tag: String
- abstract def when(condition: Boolean)(modifiers: Modifier*): Element
Add children conditionally
- abstract def whenSome[T](option: Option[T])(f: (T) => Seq[Modifier]): Element
Add children if Option is defined
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def &(other: CssSelector): CssSelector
- Definition Classes
- CssSelectable
- def +(adjacent: CssSelector): CssSelector
- Definition Classes
- CssSelectable
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def >(child: CssSelector): CssSelector
- Definition Classes
- CssSelectable
- def >>(descendant: CssSelector): CssSelector
- Definition Classes
- CssSelectable
- def active: CssSelector
- Definition Classes
- CssSelectable
- def addAttributes(attribute: Attribute, attributes: Attribute*): Element
- def addChildren(child: Dom, children: Dom*): Element
- def addChildren(children: Iterable[Dom]): Element
- def adjacentSibling(sel: CssSelector): CssSelector
- Definition Classes
- CssSelectable
- def after: CssSelector
- Definition Classes
- CssSelectable
- def and(sel: CssSelector): CssSelector
- Definition Classes
- CssSelectable
- def apply(modifier: Modifier, modifiers: Modifier*): Element
Apply modifiers (attributes and children) to this element
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def before: CssSelector
- Definition Classes
- CssSelectable
- def child(sel: CssSelector): CssSelector
- Definition Classes
- CssSelectable
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def collect(predicate: PartialFunction[Dom, Dom]): List[Dom]
Collect all elements matching the predicate
Collect all elements matching the predicate
- Definition Classes
- Dom
- def descendant(sel: CssSelector): CssSelector
- Definition Classes
- CssSelectable
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def filter(predicate: (Dom) => Boolean): Dom
Filter children recursively based on a predicate
Filter children recursively based on a predicate
- Definition Classes
- Dom
- def find(predicate: (Dom) => Boolean): Option[Dom]
Find the first element matching the predicate
Find the first element matching the predicate
- Definition Classes
- Dom
- def firstChild: CssSelector
- Definition Classes
- CssSelectable
- def firstLetter: CssSelector
- Definition Classes
- CssSelectable
- def firstLine: CssSelector
- Definition Classes
- CssSelectable
- def focus: CssSelector
- Definition Classes
- CssSelectable
- def generalSibling(sel: CssSelector): CssSelector
- Definition Classes
- CssSelectable
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def host(sel: CssSelector): CssSelector
- Definition Classes
- CssSelectable
- def host: CssSelector
- Definition Classes
- CssSelectable
- def hostContext(sel: CssSelector): CssSelector
- Definition Classes
- CssSelectable
- def hover: CssSelector
- Definition Classes
- CssSelectable
- def isEmpty: Boolean
- Definition Classes
- Dom
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def lastChild: CssSelector
- Definition Classes
- CssSelectable
- def modify(element: Element): Element
- Definition Classes
- Modifier
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def not(sel: CssSelector): CssSelector
- Definition Classes
- CssSelectable
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def nthChild(formula: String): CssSelector
- Definition Classes
- CssSelectable
- def nthChild(n: Int): CssSelector
- Definition Classes
- CssSelectable
- def or(sel: CssSelector): CssSelector
- Definition Classes
- CssSelectable
- def part(name: String): CssSelector
- Definition Classes
- CssSelectable
- def productElementName(n: Int): String
- Definition Classes
- Product
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def productIterator: Iterator[Any]
- Definition Classes
- Product
- def productPrefix: String
- Definition Classes
- Product
- def render(indentation: Boolean): String
Render the DOM to HTML string with optional indentation
Render the DOM to HTML string with optional indentation
- Definition Classes
- Dom
- def render: String
Render the DOM to HTML string without indentation
Render the DOM to HTML string without indentation
- Definition Classes
- Dom
- def renderElementInternal(state: RenderState, escapeContent: Boolean): CharSequence
- Attributes
- protected
- def renderMinified: String
Render the DOM to minified HTML string
Render the DOM to minified HTML string
- Definition Classes
- Dom
- val selector: CssSelector
- Definition Classes
- Element → CssSelectable
- def slotted(sel: CssSelector): CssSelector
- Definition Classes
- CssSelectable
- def slotted: CssSelector
- Definition Classes
- CssSelectable
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def transform(f: (Dom) => Dom): Dom
Transform this DOM node by applying a function
Transform this DOM node by applying a function
- Definition Classes
- Dom
- def visited: CssSelector
- Definition Classes
- CssSelectable
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withAttribute(attr: String, value: String): CssSelector
- Definition Classes
- CssSelectable
- def withAttribute(attr: String): CssSelector
- Definition Classes
- CssSelectable
- def withAttributeContaining(attr: String, value: String): CssSelector
- Definition Classes
- CssSelectable
- def withAttributeEnding(attr: String, value: String): CssSelector
- Definition Classes
- CssSelectable
- def withAttributePrefix(attr: String, value: String): CssSelector
- Definition Classes
- CssSelectable
- def withAttributeStarting(attr: String, value: String): CssSelector
- Definition Classes
- CssSelectable
- def withAttributeWord(attr: String, value: String): CssSelector
- Definition Classes
- CssSelectable
- def |(other: CssSelector): CssSelector
- Definition Classes
- CssSelectable
- def ~(sibling: CssSelector): CssSelector
- Definition Classes
- CssSelectable