ElementPatchMode

zio.http.datastar.ElementPatchMode
See theElementPatchMode companion trait

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

case object After extends ElementPatchMode

Insert after target element

Insert after target element

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
After.type
case object Append extends ElementPatchMode

Insert at end inside target

Insert at end inside target

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
Append.type
case object Before extends ElementPatchMode

Insert before target element

Insert before target element

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
Before.type
case object Inner extends ElementPatchMode

Morph inner HTML only, preserving state

Morph inner HTML only, preserving state

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
Inner.type
case object Outer extends ElementPatchMode

Morph entire element, preserving state

Morph entire element, preserving state

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
Outer.type
case object Prepend extends ElementPatchMode

Insert at beginning inside target

Insert at beginning inside target

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
Prepend.type
case object Remove extends ElementPatchMode

Remove target element from DOM

Remove target element from DOM

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
Remove.type
case object Replace extends ElementPatchMode

Replace entire element, reset state

Replace entire element, reset state

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
Replace.type

Inherited and Abstract types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror

The name of the type

The name of the type

Attributes

Inherited from:
Mirror