View Source Inertia.HTML (Inertia v2.1.0)

HTML components for Inertia views.

Summary

Functions

Attributes

  • content (:list) (required) - The list of tags to inject into the head tag.

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

inertia_head(assigns)

Attributes

  • content (:list) (required) - The list of tags to inject into the head tag.

inertia_title(assigns)

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.