View Source Inertia.HTML (Inertia v2.0.0)
HTML components for Inertia views.
Summary
Functions
Attributes
content
(:list
) (required) - The list of tags to inject into thehead
tag.
Attributes
component
(:string
) (required) - The name of the JavaScript page component.props
(:map
) (required) - The page props (data).url
(:string
) (required) - The page URL.version
(:string
) (required) - The current asset version.
Attributes
body
(:string
) (required) - The server-rendered body.
Attributes
prefix
(:string
) - A prefix added before the content ofinner_block
. Defaults tonil
.suffix
(:string
) - A suffix added after the content ofinner_block
. Defaults tonil
.
Slots
inner_block
(required) - Content rendered inside thetitle
tag.
Functions
Attributes
content
(:list
) (required) - The list of tags to inject into thehead
tag.
Attributes
component
(:string
) (required) - The name of the JavaScript page component.props
(:map
) (required) - The page props (data).url
(:string
) (required) - The page URL.version
(:string
) (required) - The current asset version.
Attributes
body
(:string
) (required) - The server-rendered body.
Attributes
prefix
(:string
) - A prefix added before the content ofinner_block
. Defaults tonil
.suffix
(:string
) - A suffix added after the content ofinner_block
. Defaults tonil
.
Slots
inner_block
(required) - Content rendered inside thetitle
tag.