View Source Inertia.HTML (Inertia v0.10.0)

HTML components for Inertia views.

Summary

Functions

Attributes

  • content (:list) (required) - The list of tags to inject into the head 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 of inner_block. Defaults to nil.
  • suffix (:string) - A suffix added after the content of inner_block. Defaults to nil.

Slots

  • inner_block (required) - Content rendered inside the title tag.

Functions

Attributes

  • content (:list) (required) - The list of tags to inject into the head 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 of inner_block. Defaults to nil.
  • suffix (:string) - A suffix added after the content of inner_block. Defaults to nil.

Slots

  • inner_block (required) - Content rendered inside the title tag.