View Source PlausibleWeb.Components.Site.Feature (Plausible v0.0.1)
Phoenix Component for rendering a user-facing feature toggle
capable of flipping booleans in Plausible.Site
via the toggle_feature
controller action.
Summary
Functions
The resource name, as an atom, for this view
Renders the given template locally.
Callback invoked when no template is found. By default it raises but can be customized to render a particular template.
Attributes
site
(Plausible.Site
) (required)setting
(:atom
) (required)label
(:string
) (required)conn
(Plug.Conn
) (required)
Slots
inner_block
Functions
The resource name, as an atom, for this view
Renders the given template locally.
Callback invoked when no template is found. By default it raises but can be customized to render a particular template.
Attributes
site
(Plausible.Site
) (required)setting
(:atom
) (required)label
(:string
) (required)conn
(Plug.Conn
) (required)
Slots
inner_block