The text content of each section, which is hidden when the section is closed. The summary line is inside the HTML element, so you can only add phrasing content to it. If summary.html is supplied, this is ignored. The header is inside the HTML element, so you can only add phrasing content to it. The HTML content of the header for each section. ![]() If heading.html is supplied, this is ignored. ![]() HTML attributes (for example data attributes) to add to the accordion.Īn array of sections within the accordion. Used as an id in the HTML for the accordion as a whole, and also as a prefix for the ids of the section contents and the buttons that open them, so that those ids can be the target of aria-labelledby and aria-control attributes. Must be unique across the domain of your service (as the expanded state of individual instances of the component persists across page loads using sessionStorage). If you're using Nunjucks macros in production with "html" options, or ones ending with "html", you must sanitise the HTML to protect against cross-site scripting exploits. Some options are required for the macro to work these are marked as "Required" in the option description. Use options to customise the appearance, content and behaviour of a component when using a macro, for example, changing the text. This is the content for How people read. ![]() This is the content for Know your audience. This is the content for Writing well for specialists. This is the content for Writing well for the web. There is a problem with the service pages Replace variables, functions and mixins from our old frameworksĮxtending and modifying components in production
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |