Parámetros Nunjucks del componente: "Item". Versión: 12.1.0
Los parámetros de Nunjucks para este componente están dentro de la siguiente etiqueta code en formato yaml.
{"val":"params:\r\n- name: headingLevel\r\n type: number\r\n required: false\r\n description: If headingLevel is 1, the parent heading tag needed inside this component will be a h1, if 2 will be a h2, and so on. If no headingLevel is present the title will be a p tag.\r\n- name: title\r\n type: object\r\n required: true\r\n description: This is the title\r\n - name: text\r\n type: string\r\n required: true\r\n description: If `html` is set, this is not required. Text to use within the title. If `html` is provided, the `text` argument will be ignored.\r\n - name: html\r\n type: string\r\n required: true\r\n description: If `text` is set, this is not required. HTML to use within the title. If `html` is provided, the `text` argument will be ignored.\r\n - name: classes\r\n type: string\r\n required: false\r\n description: Classes to add to the item title.\r\n - name: attributes\r\n type: object\r\n required: false\r\n description: HTML attributes (for example data attributes) to add to the item title.\r\n- name: description\r\n type: object\r\n required: false\r\n description: This is the optional description under title\r\n - name: text\r\n type: string\r\n required: true\r\n description: If `html` is set, this is not required. Text to use within the title. If `html` is provided, the `text` argument will be ignored.\r\n - name: html\r\n type: string\r\n required: true\r\n description: If `text` is set, this is not required. HTML to use within the title. If `html` is provided, the `text` argument will be ignored.\r\n - name: classes\r\n type: string\r\n required: false\r\n description: Classes to add to the item description.\r\n- name: items\r\n type: array\r\n required: false\r\n description: This is a list of metadata\r\n - name: text\r\n type: string\r\n required: true\r\n description: Text of the metadata item.\r\n- name: content\r\n type: object\r\n required: false\r\n description: This is the bottom content\r\n - name: text\r\n type: string\r\n required: true\r\n description: If `html` is set, this is not required. Text to use within the title. If `html` is provided, the `text` argument will be ignored.\r\n - name: html\r\n type: string\r\n required: true\r\n description: If `text` is set, this is not required. HTML to use within the title. If `html` is provided, the `text` argument will be ignored.\r\n - name: classes\r\n type: string\r\n required: false\r\n description: Classes to add to the content.\r\n- name: icon\r\n type: object\r\n required: false\r\n description: This is the optional icon at left\r\n - name: html\r\n type: string\r\n required: false\r\n description: Use this html to insert a custom svg inline icon. If this is set, the type are not used.\r\n - name: type\r\n type: string\r\n required: false\r\n description: Predefined icon types are `document`, `link`, `clipboard`\r\n - name: containerClasses\r\n type: string\r\n required: false\r\n description: Classes applied to the parent div of icon. Useful to vertical align the icon.\r\n- name: isDraggable\r\n type: boolean\r\n required: false\r\n description: If true, the item shows a handler icon on left.\r\n- name: id\r\n type: string\r\n required: false\r\n description: Optional id attribute to add to the div container tag.\r\n- name: classes\r\n type: string\r\n required: false\r\n description: Classes to add to the div container tag.\r\n- name: attributes\r\n type: object\r\n required: false\r\n description: HTML attributes (for example data attributes) to add to the div container tag.\r\n- name: caller\r\n type: nunjucks-block\r\n required: false\r\n description: Not strictly a parameter but [Nunjucks code convention](https://mozilla.github.io/nunjucks/templating.html#call). Using a `call` block enables you to call a macro with all the text inside the tag. This is helpful if you want to pass a lot of content into a macro. To use it, you will need to wrap the entire item component in a `call` block.\r\n","length":3909}