Skip to content

Twig API

Parameters

Required parameters

The content parameters are required.

content

  • Type: string
  • Required

The text content.

repeat

  • Type: number
  • Default: 2

The number of times the content should be repeated.

attr

  • Type: array

Custom attributes for the root element.

target_attr

  • Type: array

Custom attributes for the target element.