View Source LiveInspect.Inspector (live_inspect v0.1.0)
The LiveComponent to inspect values directly on the page.
Typically, the LiveInspect.live_inspect/1
convenience helper should be used instead.
example
Example
<.live_component
module={LiveInspect.Inspector}
id="live-inspect"
value={%{my_assign: @my_assign, my_other_assign: @my_other_assign}}
/>
attributes
Attributes
:id
- required:value
- required; any term to inspect:root?
- optional; indicates that this inspector is rendered directly on the page, and is not nested; defaults totrue
:theme
- optional; the theme module; defaults to the configured theme