works.iterative.ui.components.laminar

Members list

Packages

We need a generic Color model that can be used both on server and on client.

We need a generic Color model that can be used both on server and on client.

We have adopted the Tailwind model for now. There is nothing inherently Tailwind-specific in the implementation, but all the values are taken from their palette and the area model is very HTML biased.

Still, I think that it is a good starting point for exploration and will satisfy our current needs.

Attributes

Type members

Classlikes

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
case class Bin[Source, +Value](label: String, description: Option[String | L.HtmlElement], valueOf: Source => Value)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class Bins[T, U](bins: Seq[Bin[T, U]])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
trait ButtonStyles

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object button

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait ListPage[T, Q]
object CustomAttrs

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
trait EffectHandler[E, A]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class LaminarZIOEffectHandler[Env, E, A]
object EffectHandler

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
trait HasEffectHook[O]

A way to add effect processor to component.

A way to add effect processor to component.

To ensure that the lifecycle of the effect processor is bound to the lifecycle of the component, the bind is done in the component itself.

There is a default implementation for components that return HtmlElement. If the component uses different type, it needs to provide its own implementation.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object HasEffectHook

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
trait HtmlRenderable[A]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
trait HtmlTabular[A] extends Tabular[A, L.HtmlMod]

A tabular typclass that can be rendered into HTML

A tabular typclass that can be rendered into HTML

Attributes

Supertypes
trait Tabular[A, L.HtmlMod]
class Object
trait Matchable
class Any

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
abstract class LaminarComponent[M, A, +E, +O](effectHandler: EffectHandler[E, A])(implicit evidence$1: HasEffectHook[O]) extends Module[M, A, E]

Hook the action -> effect cycle into a component.

Hook the action -> effect cycle into a component.

Attributes

Supertypes
trait Module[M, A, E]
class Object
trait Matchable
class Any
Known subtypes
class Component

Attributes

Supertypes
class Object
trait Matchable
class Any
Show all
Self type
class LaminarZIOEffectHandler[Env, E, A](handler: ZIOEffectHandler[Env, E, A])(using runtime: Runtime[Env]) extends EffectHandler[E, A]

Attributes

Supertypes
trait EffectHandler[E, A]
class Object
trait Matchable
class Any
object LinkSupport

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait StyleGuide

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object default
object StyleGuide

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
StyleGuide.type

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object ZIOOwner

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
ZIOOwner.type
class ZIOOwner extends Owner

Attributes

Companion
object
Supertypes
trait Owner
class Object
trait Matchable
class Any