Empty

zio.http.template2.Dom.Empty
case object Empty extends Dom

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Dom
trait Modifier
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
Empty.type

Members list

Type members

Inherited types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Singleton

Attributes

Inherited from:
Singleton
type MirroredMonoType = Singleton.this.type

The mirrored *-type

The mirrored *-type

Attributes

Inherited from:
Singleton
type MirroredType = Singleton.this.type

Attributes

Inherited from:
Singleton

Inherited and Abstract types

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Inherited methods

def collect(predicate: PartialFunction[Dom, Dom]): List[Dom]

Collect all elements matching the predicate

Collect all elements matching the predicate

Attributes

Inherited from:
Dom
def filter(predicate: Dom => Boolean): Dom

Filter children recursively based on a predicate

Filter children recursively based on a predicate

Attributes

Inherited from:
Dom
def find(predicate: Dom => Boolean): Option[Dom]

Find the first element matching the predicate

Find the first element matching the predicate

Attributes

Inherited from:
Dom

Create a new instance of type T with elements taken from product p.

Create a new instance of type T with elements taken from product p.

Attributes

Inherited from:
Singleton

Attributes

Inherited from:
Dom
def modify(element: Element): Element

Attributes

Inherited from:
Modifier

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
def render(indentation: Boolean): String

Render the DOM to HTML string with optional indentation

Render the DOM to HTML string with optional indentation

Attributes

Inherited from:
Dom
def render: String

Render the DOM to HTML string without indentation

Render the DOM to HTML string without indentation

Attributes

Inherited from:
Dom

Render the DOM to minified HTML string

Render the DOM to minified HTML string

Attributes

Inherited from:
Dom
def transform(f: Dom => Dom): Dom

Transform this DOM node by applying a function

Transform this DOM node by applying a function

Attributes

Inherited from:
Dom