oxygen.ui.web.PWidget
See thePWidget companion trait
object PWidget
Attributes
Members list
Type members
Classlikes
final case class AttachGlobalState[-Env, +Action, State](underlying: Stateful[Env, Action, State], globalState: GlobalState[State]) extends Stateless[Env, Action]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
final case class AttachPageLocalState[-Env, +Action, State](underlying: Stateful[Env, Action, State], pageLocalState: PageLocalState[State]) extends Stateless[Env, Action]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
final case class AttachWidgetState[-Env, +Action, State](underlying: Stateful[Env, Action, State], widgetState: WidgetState[State]) extends Stateless[Env, Action]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
object Canvas
final case class ComponentWithProps[-Env, +Action, -StateGet, +StateSet <: StateGet, P](component: WithProps[Env, Action, StateGet, StateSet] { type Props = P; }, props: P) extends PWidget[Env, Action, StateGet, StateSet]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
final case class ComponentWithoutProps[-Env, +Action, -StateGet, +StateSet <: StateGet](component: WithoutProps[Env, Action, StateGet, StateSet]) extends PWidget[Env, Action, StateGet, StateSet]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
final case class DetachGlobalState[Env, Action, DetachedState, InnerStateGet, InnerStateSet <: InnerStateGet](withState: WidgetState[DetachedState] => PWidget[Env, Action, InnerStateGet, InnerStateSet], globalState: GlobalState[DetachedState]) extends PWidget[Env, Action, InnerStateGet, InnerStateSet]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
final case class DetachPageLocalState[Env, Action, DetachedState, InnerStateGet, InnerStateSet <: InnerStateGet](withState: WidgetState[DetachedState] => PWidget[Env, Action, InnerStateGet, InnerStateSet], pageLocalState: PageLocalState[DetachedState]) extends PWidget[Env, Action, InnerStateGet, InnerStateSet]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
final case class FixState[Env, Action, State](withState: WidgetState[State] => Stateful[Env, Action, State]) extends Stateful[Env, Action, State]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
object Fragment
object HandleActionBuilders
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
HandleActionBuilders.type
object Node
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
final case class Raw[E <: DOMElement](raw: E) extends Const
object Raw
object Sequence
final case class StatefulEventHandler[Env, Action, State, Event](key: String, handler: (WidgetState[State], RaiseHandler[Any, Action], Event) => ZIO[Env & Scope, UIError, Unit]) extends Stateful[Env, Action, State]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
final case class StatefulHandleAction[Env, Action, State](underlying: Stateful[Env, Action, State], f: (WidgetState[State], Action) => ZIO[Env & Scope, UIError, Unit])(using evidence$1: HasNoScope[Env]) extends Stateful[Env, Nothing, State]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
final case class StatefulHandleActionA[Env, Action, State, Action2](underlying: Stateful[Env, Action, State], f: (WidgetState[State], RaiseHandler[Any, Action2], Action) => ZIO[Env & Scope, UIError, Unit])(using evidence$1: HasNoScope[Env]) extends Stateful[Env, Action2, State]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
final case class StatelessEventHandler[Env, Action, Event](key: String, handler: (RaiseHandler[Any, Action], Event) => ZIO[Env & Scope, UIError, Unit]) extends Stateless[Env, Action]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
final case class StatelessHandleAction[Env, Action, StateGet, StateSet <: StateGet](underlying: PWidget[Env, Action, StateGet, StateSet], f: Action => ZIO[Env & Scope, UIError, Unit])(using evidence$1: HasNoScope[Env]) extends PWidget[Env, Nothing, StateGet, StateSet]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
final case class StatelessHandleActionA[Env, Action, Action2, StateGet, StateSet <: StateGet](underlying: PWidget[Env, Action, StateGet, StateSet], f: (RaiseHandler[Any, Action2], Action) => ZIO[Env & Scope, UIError, Unit])(using evidence$1: HasNoScope[Env]) extends PWidget[Env, Action2, StateGet, StateSet]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
object SumCases
final case class WithPageInstance[Env, Action, StateGet, StateSet <: StateGet](underlying: Untyped => PWidget[Env, Action, StateGet, StateSet]) extends PWidget[Env, Action, StateGet, StateSet]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Extensions
Extensions
extension [Env, Action](self: Stateless[Env, Action])
extension [Env, Action, StateGet, StateSet <: StateGet](self: PWidget[Env, Action, StateGet, StateSet])
def mapActionZIO[Env2 <: Env : HasNoScope, Action2](f: Action => ZIO[Env2 & Scope, UIError, Action2]): PWidget[Env2, Action2, StateGet, StateSet]
extension [Env, Action](self: Stateless[Env, Action])
extension [Env, Action, State](self: Stateful[Env, Action, State])
In this article