Current section

Files

Jump to
lustre include lustre@component_Config.hrl
Raw

include/lustre@component_Config.hrl

-record(config, {
open_shadow_root :: boolean(),
adopt_styles :: boolean(),
delegates_focus :: boolean(),
attributes :: list({binary(), fun((binary()) -> {ok, any()} | {error, nil})}),
properties :: list({binary(), gleam@dynamic@decode:decoder(any())}),
contexts :: list({binary(), gleam@dynamic@decode:decoder(any())}),
is_form_associated :: boolean(),
on_form_autofill :: gleam@option:option(fun((binary()) -> any())),
on_form_reset :: gleam@option:option(any()),
on_form_restore :: gleam@option:option(fun((binary()) -> any()))
}).