I am examples for the Phlow view system. I also define a sample struct with two views to exercise view registration and rendering.
Summary
Functions
Callback implementation for ExExample.Behaviour.copy/1.
Callback implementation for ExExample.Behaviour.rerun?/1.
Types
Functions
@spec bare_pattern_view(Examples.EViews.Bound.t(), GtBridge.Phlow.Builder) :: GtBridge.Phlow.Text.t()
@spec binding_first_view(Examples.EViews.Bound.t(), GtBridge.Phlow.Builder) :: GtBridge.Phlow.Text.t()
@spec bound_pattern_view(Examples.EViews.Bound.t(), GtBridge.Phlow.Builder) :: GtBridge.Phlow.Text.t()
Callback implementation for ExExample.Behaviour.copy/1.
@spec empty_view() :: pid()
@spec field_pattern_view(Examples.EViews.Bound.t(), GtBridge.Phlow.Builder) :: GtBridge.Phlow.Text.t()
@spec int_list_view(t(), GtBridge.Phlow.Builder) :: GtBridge.Phlow.List.t()
@spec int_list_view_ref() :: {Examples.EViews, :int_list_view}
@spec name_text_view(t(), GtBridge.Phlow.Builder) :: GtBridge.Phlow.Text.t()
@spec name_text_view_ref() :: {Examples.EViews, :name_text_view}
@spec register_views() :: pid()
Callback implementation for ExExample.Behaviour.rerun?/1.
@spec struct_binding_pattern_registers() :: [tuple()]
@spec test_get_view_specs() :: :ok