LiveIsolatedComponent.ViewUtils (live_isolated_component v0.10.0)
View SourceCollection of utils for people that want to write their own
mock LiveView to use with m:LiveIsolatedComponent.live_isolated_component/2.
Summary
Functions
Run this in your mock view Phoenix.LiveView.mount/3.
Use this function to get the slot list if for some reason is not working for you.
This function renders the given component in component (be it a function or a module)
with the given assigns and slots.
Functions
Run this in your mock view Phoenix.LiveView.mount/3.
Options
:on_mount, boolean, defaults totrue. Can disable addingon_mounthooks.
Use this function to get the slot list if for some reason is not working for you.
This function renders the given component in component (be it a function or a module)
with the given assigns and slots.