Parámetros Nunjucks del componente: "Notification". Versión: 12.0.1
Los parámetros de Nunjucks para este componente están dentro de la siguiente etiqueta code en formato yaml.
{"val":"params:\n- name: headingLevel\n type: number\n required: false\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.\n- name: title\n type: object\n required: true\n description: This is the title. It's a h4 that can have text or html inside. Has tabindex=-1 and an id, that is the same as notification id with the -title suffix, to receive focus programatically.\n - name: text\n type: string\n required: true\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.\n - name: html\n type: string\n required: true\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.\n - name: classes\n type: string\n required: false\n description: Classes to add to the notification title.\n- name: description\n type: object\n required: false\n description: This is the optional description under title\n - name: text\n type: string\n required: true\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.\n - name: html\n type: string\n required: true\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.\n - name: classes\n type: string\n required: false\n description: Classes to add to the notification description.\n- name: content\n type: object\n required: false\n description: This is the optional content under the description and items\n - name: text\n type: string\n required: true\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.\n - name: html\n type: string\n required: true\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.\n - name: classes\n type: string\n required: false\n description: Classes to add to the notification content.\n- name: items\n type: array\n required: false\n description: This is a list of anchors. Can be used as errors links.\n - name: href\n type: string\n required: false\n description: Href attribute for the link item. If provided item will be an anchor.\n - name: text\n type: string\n required: true\n description: If `html` is set, this is not required. Text for the link item. If `html` is provided, the `text` argument will be ignored.\n - name: html\n type: string\n required: true\n description: If `text` is set, this is not required. HTML for the link item. If `html` is provided, the `text` argument will be ignored.\n - name: attributes\n type: object\n required: false\n description: HTML attributes (for example data attributes) to add to the link anchor.\n- name: icon\n type: object\n required: false\n description: This is the optional icon at left\n - name: html\n type: string\n required: false\n description: Use this html to insert a custom svg inline icon. If this is set, the type are not used.\n- name: type\n type: string\n required: false\n description: Predefined notification types are `success`, `alert`, `info`\n- name: isDismissible\n type: boolean\n required: false\n description: If true, the notification shows a close icon on top right to close it.\n- name: id\n type: string\n required: true\n description: Required id attribute to add to the div container tag and to generate the title id.\n- name: classes\n type: string\n required: false\n description: Classes to add to the div container tag.\n- name: attributes\n type: object\n required: false\n description: HTML attributes (for example data attributes) to add to the div container tag.\n","length":3972}