Parámetros Nunjucks del componente: "Notification". 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. 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.\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 notification 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 notification description.\r\n- name: content\r\n type: object\r\n required: false\r\n description: This is the optional content under the description and items\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 notification content.\r\n- name: items\r\n type: array\r\n required: false\r\n description: This is a list of anchors. Can be used as errors links.\r\n - name: href\r\n type: string\r\n required: false\r\n description: Href attribute for the link item. If provided item will be an anchor.\r\n - name: text\r\n type: string\r\n required: true\r\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.\r\n - name: html\r\n type: string\r\n required: true\r\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.\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 link anchor.\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 notification types are `success`, `alert`, `info`\r\n- name: isDismissible\r\n type: boolean\r\n required: false\r\n description: If true, the notification shows a close icon on top right to close it.\r\n- name: id\r\n type: string\r\n required: true\r\n description: Required id attribute to add to the div container tag and to generate the title id.\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","length":4073}