HxTarget

zio.http.htmx.HxTarget
See theHxTarget companion trait
object HxTarget

Attributes

Companion
trait
Source
HxTarget.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
HxTarget.type

Members list

Type members

Classlikes

final case class Closest extends HxTarget

Targets the closest ancestor matching the selector.

Targets the closest ancestor matching the selector.

Attributes

Source
HxTarget.scala
Supertypes
trait HxTarget
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class Css extends HxTarget

Targets the CSS selector as-is.

Targets the CSS selector as-is.

Attributes

Source
HxTarget.scala
Supertypes
trait HxTarget
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class Find extends HxTarget

Targets the first descendant matching the selector.

Targets the first descendant matching the selector.

Attributes

Source
HxTarget.scala
Supertypes
trait HxTarget
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class Next extends HxTarget

Targets the next sibling, optionally filtered by selector.

Targets the next sibling, optionally filtered by selector.

Attributes

Source
HxTarget.scala
Supertypes
trait HxTarget
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class Previous extends HxTarget

Targets the previous sibling, optionally filtered by selector.

Targets the previous sibling, optionally filtered by selector.

Attributes

Source
HxTarget.scala
Supertypes
trait HxTarget
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case object This extends HxTarget

Targets the current element (this).

Targets the current element (this).

Attributes

Source
HxTarget.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait HxTarget
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
This.type

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

def closest(selector: String): HxTarget

Creates a closest ... selector.

Creates a closest ... selector.

Attributes

Source
HxTarget.scala
def css(selector: String): HxTarget

Uses a raw CSS selector string.

Uses a raw CSS selector string.

Attributes

Source
HxTarget.scala
def css(selector: CssSelector): HxTarget

Uses a typed CSS selector.

Uses a typed CSS selector.

Attributes

Source
HxTarget.scala
def find(selector: String): HxTarget

Creates a find ... selector.

Creates a find ... selector.

Attributes

Source
HxTarget.scala
def next: HxTarget

Targets the next sibling.

Targets the next sibling.

Attributes

Source
HxTarget.scala
def next(selector: String): HxTarget

Targets the next sibling matching the selector.

Targets the next sibling matching the selector.

Attributes

Source
HxTarget.scala
def parse(value: String): Either[String, HxTarget]

Parses a rendered HTMX target selector back into a typed HxTarget.

Parses a rendered HTMX target selector back into a typed HxTarget.

Attributes

Source
HxTarget.scala

Targets the previous sibling.

Targets the previous sibling.

Attributes

Source
HxTarget.scala
def previous(selector: String): HxTarget

Targets the previous sibling matching the selector.

Targets the previous sibling matching the selector.

Attributes

Source
HxTarget.scala
def this: HxTarget

Backtick-friendly alias for This.

Backtick-friendly alias for This.

Attributes

Source
HxTarget.scala

Identifier-friendly alias for This.

Identifier-friendly alias for This.

Attributes

Source
HxTarget.scala

Implicits

Implicits

Attributes

Source
HxTarget.scala