Summary
Functions
When used, dispatch to the appropriate function.
Includes all globally available field functions and helpers.
Includes all globally available HTML functions and helpers.
Includes all globally available item action functions and helpers.
Includes the functions and helpers available inside a Backpex.LiveResource.
Functions
When used, dispatch to the appropriate function.
Includes all globally available field functions and helpers.
Includes all globally available HTML functions and helpers.
Includes all globally available item action functions and helpers.
Includes the functions and helpers available inside a Backpex.LiveResource.
Unlike html/0, this only imports Phoenix.Component instead of use-ing it. A
LiveResource only needs the ~H sigil (for the injected render_resource_slot/3 clauses
and for user-defined render functions), and import is enough for that.
If a LiveResource needs to declare its own function components with attr/slot, it should
additionally use MyAppWeb, :html (or use Phoenix.Component).