ElementInfo

Used by elements to display an info icon next to the label.

Properties

All the data, computed and inject properties of the component.

info

  • Type: string
  • Group: computed

The info for the element, defined via the element's info prop.

id

  • Type: string
  • Group: computed

The id attribute of the container.

Size

  • Type: string
  • Group: inject

The size of the component.

View

  • Type: string
  • Group: computed

The name of the resolved view for the component. This one should be used to determine the component's view in class functions.

template

  • Type: object
  • Group: computed

The component's template.

classes

  • Type: object
  • Group: computed

The component's classes.

theme

  • Type: object
  • Group: inject

The global theme object, which contains all the default templates and classes.

form$

  • Type: Vueform
  • Group: inject

The root form's component.

el$

  • Type: VueformElement
  • Group: inject

The parent element's component.

Slots

The slots of the component.

default

Renders the content of the info when the info icon is hovered, if the parent element has no info.

👋 Hire Vueform team for form customizations and developmentLearn more