View Source Inertia.HTML (Inertia v1.0.0-beta.3)
HTML components for Inertia views.
Summary
Functions
Attributes
content(:list) (required) - The list of tags to inject into theheadtag.
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 thetitletag.
Functions
Attributes
content(:list) (required) - The list of tags to inject into theheadtag.
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 thetitletag.