KinoPhoenixLiveview.Layout (kino_phoenix_live_view v0.1.0)
Defines the HTML layout for the Phoenix LiveView embedded in a Kino iframe.
This layout includes essential meta tags, links to static assets (e.g. Phoenix and Phoenix LiveView JavaScript files), Tailwind CSS, and inline scripts that initialize the LiveView socket connection.
Summary
Functions
Renders the root HTML layout.
Functions
Renders the root HTML layout.
The layout is rendered for the template "root.html"
and expects an
assigns
map that may include a :page_title
and an @inner_content
slot for dynamic content.
Parameters
template
: A string identifying the template (must be"root.html"
).assigns
: A map of assigns including the page title and content.
Examples
<.live_title>My LiveView Page</.live_title>
... rest of page ...