zio.http.datastar
Members list
Packages
Type members
Classlikes
Attributes
- Companion
- object
- Source
- Attributes.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait DatastarPackageBase
- Self type
Attributes
- Companion
- trait
- Source
- Attributes.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Attributes.type
Attributes
- Companion
- object
- Source
- Datastar.scala
- Supertypes
-
class AnyValtrait Matchableclass Any
Attributes
- Companion
- class
- Source
- Datastar.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Datastar.type
Attributes
- Companion
- object
- Source
- DatastarEvent.scala
- Supertypes
Attributes
- Companion
- trait
- Source
- DatastarEvent.scala
- Supertypes
- Self type
-
DatastarEvent.type
Attributes
- Source
- DatastarPackageBase.scala
- Supertypes
- Self type
Attributes
- Companion
- object
- Source
- ServerSentEventGenerator.scala
- Supertypes
Attributes
- Companion
- class
- Source
- ServerSentEventGenerator.scala
- Supertypes
- Self type
-
DispatchEventOptions.type
Attributes
- Companion
- object
- Source
- ServerSentEventGenerator.scala
- Supertypes
- Known subtypes
Attributes
- Companion
- trait
- Source
- ServerSentEventGenerator.scala
- Supertypes
- Self type
-
ElementPatchMode.type
Attributes
- Companion
- object
- Source
- ServerSentEventGenerator.scala
- Supertypes
- Known subtypes
-
object PatchElementsobject PatchSignals
Attributes
- Companion
- trait
- Source
- ServerSentEventGenerator.scala
- Supertypes
- Self type
-
EventType.type
Attributes
- Companion
- object
- Source
- ServerSentEventGenerator.scala
- Supertypes
Attributes
- Companion
- class
- Source
- ServerSentEventGenerator.scala
- Supertypes
- Self type
-
ExecuteScriptOptions.type
Attributes
- Companion
- object
- Source
- ServerSentEventGenerator.scala
- Supertypes
Attributes
- Companion
- class
- Source
- ServerSentEventGenerator.scala
- Supertypes
- Self type
-
PatchElementOptions.type
Attributes
- Companion
- object
- Source
- ServerSentEventGenerator.scala
- Supertypes
Attributes
- Companion
- class
- Source
- ServerSentEventGenerator.scala
- Supertypes
- Self type
-
PatchSignalOptions.type
Attributes
- Source
- ServerSentEventGenerator.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Inherited classlikes
Attributes
- Inherited from:
- DatastarPackageBase
- Source
- DatastarPackageBase.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- DatastarPackageBase
- Source
- DatastarPackageBase.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- DatastarPackageBase
- Source
- DatastarPackageBase.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- DatastarPackageBase
- Source
- DatastarPackageBase.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Inherited types
Attributes
- Inherited from:
- DatastarPackageBase
- Source
- DatastarPackageBase.scala
Attributes
- Inherited from:
- DatastarPackageBase
- Source
- DatastarPackageBase.scala
Attributes
- Inherited from:
- DatastarPackageBase
- Source
- DatastarPackageBase.scala
Attributes
- Inherited from:
- DatastarPackageBase
- Source
- DatastarPackageBase.scala
Attributes
- Inherited from:
- DatastarPackageBase
- Source
- DatastarPackageBase.scala
Attributes
- Inherited from:
- DatastarPackageBase
- Source
- DatastarPackageBase.scala
Attributes
- Inherited from:
- DatastarPackageBase
- Source
- DatastarPackageBase.scala
Attributes
- Inherited from:
- DatastarPackageBase
- Source
- DatastarPackageBase.scala
Value members
Inherited methods
Attributes
- Inherited from:
- Attributes
- Source
- Attributes.scala
data-attr:* – Set arbitrary attributes. Doc: https://data-star.dev/reference/attributes#data-attr
data-attr:* – Set arbitrary attributes. Doc: https://data-star.dev/reference/attributes#data-attr
Attributes
- Inherited from:
- Attributes
- Source
- Attributes.scala
data-attr:* – Set arbitrary attributes. Doc: https://data-star.dev/reference/attributes#data-attr
data-attr:* – Set arbitrary attributes. Doc: https://data-star.dev/reference/attributes#data-attr
Attributes
- Inherited from:
- Attributes
- Source
- Attributes.scala
data-attr:* – Set arbitrary attributes. Doc: https://data-star.dev/reference/attributes#data-attr
data-attr:* – Set arbitrary attributes. Doc: https://data-star.dev/reference/attributes#data-attr
Attributes
- Inherited from:
- Attributes
- Source
- Attributes.scala
data-bind-* – Binds the given signal name to the value of input, select, textarea or web components. Doc: https://data-star.dev/reference/attributes#data-bind
data-bind-* – Binds the given signal name to the value of input, select, textarea or web components. Doc: https://data-star.dev/reference/attributes#data-bind
Attributes
- Inherited from:
- Attributes
- Source
- Attributes.scala
data-bind-* – Binds the given signal name to the value of input, select, textarea or web components. Doc: https://data-star.dev/reference/attributes#data-bind
data-bind-* – Binds the given signal name to the value of input, select, textarea or web components. Doc: https://data-star.dev/reference/attributes#data-bind
Attributes
- Inherited from:
- Attributes
- Source
- Attributes.scala
data-class – Dynamically toggle classes. Doc: https://data-star.dev/reference/attributes#data-class
data-class – Dynamically toggle classes. Doc: https://data-star.dev/reference/attributes#data-class
Attributes
- Inherited from:
- Attributes
- Source
- Attributes.scala
data-class – Dynamically toggle classes. Doc: https://data-star.dev/reference/attributes#data-class
data-class – Dynamically toggle classes. Doc: https://data-star.dev/reference/attributes#data-class
Attributes
- Inherited from:
- Attributes
- Source
- Attributes.scala
data-class – Dynamically toggle classes. Doc: https://data-star.dev/reference/attributes#data-class
data-class – Dynamically toggle classes. Doc: https://data-star.dev/reference/attributes#data-class
Attributes
- Inherited from:
- Attributes
- Source
- Attributes.scala
data-computed – Computed values from expressions. Doc: https://data-star.dev/reference/attributes#data-computed
data-computed – Computed values from expressions. Doc: https://data-star.dev/reference/attributes#data-computed
Attributes
- Inherited from:
- Attributes
- Source
- Attributes.scala
data-computed – Computed values from expressions. Doc: https://data-star.dev/reference/attributes#data-computed
data-computed – Computed values from expressions. Doc: https://data-star.dev/reference/attributes#data-computed
Attributes
- Inherited from:
- Attributes
- Source
- Attributes.scala
data-effect – Side effects from expressions. Doc: https://data-star.dev/reference/attributes#data-effect
data-effect – Side effects from expressions. Doc: https://data-star.dev/reference/attributes#data-effect
Attributes
- Inherited from:
- Attributes
- Source
- Attributes.scala
data-ignore – Ignore this element and its children. Doc: https://data-star.dev/reference/attributes#data-ignore
data-ignore – Ignore this element and its children. Doc: https://data-star.dev/reference/attributes#data-ignore
Attributes
- Inherited from:
- Attributes
- Source
- Attributes.scala
data-ignore-morph – Ignore morphing for this element. Doc: https://data-star.dev/reference/attributes#data-ignore-morph
data-ignore-morph – Ignore morphing for this element. Doc: https://data-star.dev/reference/attributes#data-ignore-morph
Attributes
- Inherited from:
- Attributes
- Source
- Attributes.scala
like data-ignore, but only ignores this element and not its children. Doc: https://data-star.dev/reference/attributes#data-ignore
like data-ignore, but only ignores this element and not its children. Doc: https://data-star.dev/reference/attributes#data-ignore
Attributes
- Inherited from:
- Attributes
- Source
- Attributes.scala
data-indicator – Loading indicator. Doc: https://data-star.dev/reference/attributes#data-indicator
data-indicator – Loading indicator. Doc: https://data-star.dev/reference/attributes#data-indicator
Attributes
- Inherited from:
- Attributes
- Source
- Attributes.scala
data-init – Execute when element loads. Doc: https://data-star.dev/reference/attributes#data-init
data-init – Execute when element loads. Doc: https://data-star.dev/reference/attributes#data-init
Attributes
- Inherited from:
- Attributes
- Source
- Attributes.scala
data-json-signals – JSON signal declarations. Doc: https://data-star.dev/reference/attributes#data-json-signals
data-json-signals – JSON signal declarations. Doc: https://data-star.dev/reference/attributes#data-json-signals
Attributes
- Inherited from:
- Attributes
- Source
- Attributes.scala
data-on* – Event listener. Doc: https://data-star.dev/reference/attributes#data-on
data-on* – Event listener. Doc: https://data-star.dev/reference/attributes#data-on
Attributes
- Inherited from:
- Attributes
- Source
- Attributes.scala
data-on-intersect – Execute when element intersects viewport. Doc: https://data-star.dev/reference/attributes#data-on-intersect
data-on-intersect – Execute when element intersects viewport. Doc: https://data-star.dev/reference/attributes#data-on-intersect
Attributes
- Inherited from:
- Attributes
- Source
- Attributes.scala
data-on-interval – Execute on interval. Doc: https://data-star.dev/reference/attributes#data-on-interval
data-on-interval – Execute on interval. Doc: https://data-star.dev/reference/attributes#data-on-interval
Attributes
- Inherited from:
- Attributes
- Source
- Attributes.scala
data-on-signal-patch – Execute when signal patches. Doc: https://data-star.dev/reference/attributes#data-on-signal-patch
data-on-signal-patch – Execute when signal patches. Doc: https://data-star.dev/reference/attributes#data-on-signal-patch
Attributes
- Inherited from:
- Attributes
- Source
- Attributes.scala
data-on-signal-patch-filter – Filter signal patch events. Doc: https://data-star.dev/reference/attributes#data-on-signal-patch-filter
data-on-signal-patch-filter – Filter signal patch events. Doc: https://data-star.dev/reference/attributes#data-on-signal-patch-filter
Attributes
- Inherited from:
- Attributes
- Source
- Attributes.scala
data-preserve-attr – Preserve attributes during morphing. Doc: https://data-star.dev/reference/attributes#data-preserve-attr
data-preserve-attr – Preserve attributes during morphing. Doc: https://data-star.dev/reference/attributes#data-preserve-attr
Attributes
- Inherited from:
- Attributes
- Source
- Attributes.scala
data-preserve-attr – Preserve attributes during morphing. Doc: https://data-star.dev/reference/attributes#data-preserve-attr
data-preserve-attr – Preserve attributes during morphing. Doc: https://data-star.dev/reference/attributes#data-preserve-attr
Attributes
- Inherited from:
- Attributes
- Source
- Attributes.scala
data-ref – Assign a local reference. Doc: https://data-star.dev/reference/attributes#data-ref
data-ref – Assign a local reference. Doc: https://data-star.dev/reference/attributes#data-ref
Attributes
- Inherited from:
- Attributes
- Source
- Attributes.scala
data-ref – Assign a local reference. Doc: https://data-star.dev/reference/attributes#data-ref
data-ref – Assign a local reference. Doc: https://data-star.dev/reference/attributes#data-ref
Attributes
- Inherited from:
- Attributes
- Source
- Attributes.scala
data-show – Show element when expression truthy. Doc: https://data-star.dev/reference/attributes#data-show
data-show – Show element when expression truthy. Doc: https://data-star.dev/reference/attributes#data-show
Attributes
- Inherited from:
- Attributes
- Source
- Attributes.scala
data-signals – Declare / expose signals. Doc: https://data-star.dev/reference/attributes#data-signals
data-signals – Declare / expose signals. Doc: https://data-star.dev/reference/attributes#data-signals
Attributes
- Inherited from:
- Attributes
- Source
- Attributes.scala
data-style:* – Dynamically set inline style(s). Doc: https://data-star.dev/reference/attributes#data-style
data-style:* – Dynamically set inline style(s). Doc: https://data-star.dev/reference/attributes#data-style
Attributes
- Inherited from:
- Attributes
- Source
- Attributes.scala
data-style – Dynamically set inline style(s). Doc: https://data-star.dev/reference/attributes#data-style
data-style – Dynamically set inline style(s). Doc: https://data-star.dev/reference/attributes#data-style
Attributes
- Inherited from:
- Attributes
- Source
- Attributes.scala
data-text – Sets element text content from an expression / signal. Doc: https://data-star.dev/reference/attributes#data-text
data-text – Sets element text content from an expression / signal. Doc: https://data-star.dev/reference/attributes#data-text
Attributes
- Inherited from:
- Attributes
- Source
- Attributes.scala
Script element that loads Datastar from CDN using a specific version.
Script element that loads Datastar from CDN using a specific version.
Value parameters
- version
-
The Datastar version to load (e.g., "1.0.1")
Attributes
- Example
-
head( datastarScript("1.0.1") ) - Inherited from:
- DatastarPackageBase
- Source
- DatastarPackageBase.scala
Script element that loads Datastar from CDN using the version zio-http-datastar-sdk was built against.
Script element that loads Datastar from CDN using the version zio-http-datastar-sdk was built against.
Attributes
- Example
-
head( datastarScript() ) - Inherited from:
- DatastarPackageBase
- Source
- DatastarPackageBase.scala
Attributes
- Inherited from:
- DatastarPackageBase
- Source
- DatastarPackageBase.scala
Attributes
- Inherited from:
- DatastarPackageBase
- Source
- DatastarPackageBase.scala
Attributes
- Inherited from:
- DatastarPackageBase
- Source
- DatastarPackageBase.scala
Attributes
- Inherited from:
- DatastarPackageBase
- Source
- DatastarPackageBase.scala
Attributes
- Inherited from:
- DatastarPackageBase
- Source
- DatastarPackageBase.scala
Creates a complete HTML page template with a specific version of Datastar.
Creates a complete HTML page template with a specific version of Datastar.
Value parameters
- bodyContent
-
Content for the body element
- datastarVersion
-
The Datastar version to load
- headContent
-
Additional content for the head element (e.g., meta tags, title, styles)
- language
-
Language attribute for the html element
Attributes
- Example
-
mainPage( headContent = Seq( title("My App"), meta.charset("UTF-8") ), bodyContent = Seq( div("Hello, Datastar!") ), datastarVersion = "1.0.1", language = Some("en") ) - Inherited from:
- DatastarPackageBase
- Source
- DatastarPackageBase.scala
Attributes
- Inherited from:
- DatastarPackageBase
- Source
- DatastarPackageBase.scala
Deprecated and Inherited methods
data-on-load – Execute when element loads (deprecated, use dataInit). Doc: https://data-star.dev/reference/attributes#data-init
data-on-load – Execute when element loads (deprecated, use dataInit). Doc: https://data-star.dev/reference/attributes#data-init
Note: This is kept for binary compatibility. It generates the same data-init attribute.
Attributes
- Deprecated
-
[Since version 3.6.0]Use dataInit instead of dataOnLoad - Inherited from:
- Attributes
- Source
- Attributes.scala
Attributes
- Deprecated
-
[Since version 3.6.0]Use events instead - Inherited from:
- DatastarPackageBase
- Source
- DatastarPackageBase.scala
Inherited fields
Attributes
- Inherited from:
- DatastarPackageBase
- Source
- DatastarPackageBase.scala
Attributes
- Inherited from:
- DatastarPackageBase
- Source
- DatastarPackageBase.scala
Attributes
- Inherited from:
- DatastarPackageBase
- Source
- DatastarPackageBase.scala
Attributes
- Inherited from:
- DatastarPackageBase
- Source
- DatastarPackageBase.scala
Attributes
- Inherited from:
- DatastarPackageBase
- Source
- DatastarPackageBase.scala
Attributes
- Inherited from:
- DatastarPackageBase
- Source
- DatastarPackageBase.scala
Attributes
- Inherited from:
- DatastarPackageBase
- Source
- DatastarPackageBase.scala
Attributes
- Inherited from:
- DatastarPackageBase
- Source
- DatastarPackageBase.scala
Attributes
- Inherited from:
- DatastarPackageBase
- Source
- DatastarPackageBase.scala
Attributes
- Inherited from:
- DatastarPackageBase
- Source
- DatastarPackageBase.scala
Implicits
Inherited implicits
Attributes
- Inherited from:
- DatastarPackageBase
- Source
- DatastarPackageBase.scala
Attributes
- Inherited from:
- DatastarPackageBase
- Source
- DatastarPackageBase.scala
Attributes
- Inherited from:
- DatastarPackageBase
- Source
- DatastarPackageBase.scala
Attributes
- Inherited from:
- DatastarPackageBase
- Source
- DatastarPackageBase.scala