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
Callback implementation for ExExample.Behaviour.copy/1.
@spec empty() :: t()
@spec empty_view() :: pid()
@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 test_get_view_specs() :: :ok