Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data Command k itemWidget Source #
RenderCommand (Gizmo (Model k itemWidget) Plan) [Property] JSVal | |
DisposeCommand SomeDisposable | |
MakerCommand (F (Maker (Action k itemWidget)) (Action k itemWidget)) | |
ItemCommand k (CommandOf itemWidget) |
data Action k itemWidget Source #
ComponentRefAction JSVal | |
RenderAction | |
ComponentDidUpdateAction | |
DestroyItemAction k | |
MakeItemAction (k -> k) (k -> F (Maker (ActionOf itemWidget)) (ModelOf itemWidget)) | |
AddItemAction k (GizmoOf itemWidget) | |
ItemAction k (ActionOf itemWidget) | |
SetFilterAction (OutlineOf itemWidget -> Bool) |
class AsAction r k itemWidget | r -> k itemWidget where Source #
_Action :: Prism' r (Action k itemWidget) Source #
_ComponentRefAction :: Prism' r JSVal Source #
_RenderAction :: Prism' r () Source #
_ComponentDidUpdateAction :: Prism' r () Source #
_DestroyItemAction :: Prism' r k Source #
_MakeItemAction :: Prism' r (k -> k, k -> F (Maker (ActionOf itemWidget)) (ModelOf itemWidget)) Source #
_AddItemAction :: Prism' r (k, GizmoOf itemWidget) Source #
_ItemAction :: Prism' r (k, ActionOf itemWidget) Source #
_SetFilterAction :: Prism' r (OutlineOf itemWidget -> Bool) Source #
data Schema k itemWidget t Source #
Disposing (GizmoOf itemWidget) => Disposing (Model k itemWidget) Source # | Undecidable instances because itemWidget appears more often in the constraint
but this is safe because |
HasPlan (Scene (Model k itemWidget) Plan) Source # | |
HasPlan (Gizmo (Model k itemWidget) Plan) Source # | |
HasSchema (Scene (Model k itemWidget) Plan) k itemWidget WithGizmo Source # | |
HasSchema (Gizmo (Model k itemWidget) Plan) k itemWidget WithGizmo Source # | |
IsWidget itemWidget => ToOutline (Model k itemWidget) (Outline k itemWidget) Source # | |
HasSchema (Schema k0 itemWidget0 t0) k0 itemWidget0 t0 Source # | |
class HasSchema c k itemWidget t | c -> k itemWidget t where Source #
Plan ReactComponent JSString Int JSVal (DList SomeDisposable) (Callback (JSVal -> IO JSVal)) (Callback (JSVal -> IO ())) (Callback (JSVal -> IO ())) |
Generic Plan Source # | |
Disposing Plan Source # | |
HasPlan Plan Source # | |
HasPlan (Scene (Model k itemWidget) Plan) Source # | |
HasPlan (Gizmo (Model k itemWidget) Plan) Source # | |
HasSchema (Scene (Model k itemWidget) Plan) k itemWidget WithGizmo Source # | |
HasSchema (Gizmo (Model k itemWidget) Plan) k itemWidget WithGizmo Source # | |
type Rep Plan Source # | |
class HasPlan c where Source #
component :: Lens' c ReactComponent Source #
componentRef :: Lens' c JSVal Source #
deferredDisposables :: Lens' c (DList SomeDisposable) Source #
frameNum :: Lens' c Int Source #
key :: Lens' c JSString Source #
onComponentDidUpdate :: Lens' c (Callback (JSVal -> IO ())) Source #
onComponentRef :: Lens' c (Callback (JSVal -> IO ())) Source #
type Outline k itemWidget = Schema k itemWidget WithOutline Source #