docs: update note on HTML attributes

This commit is contained in:
alistair3149 2024-11-22 16:06:36 -05:00
parent 799f86514b
commit 471665fca9
No known key found for this signature in database

View file

@ -93,10 +93,10 @@ Third Page Name|Third Tab Title
</tabbertransclude> </tabbertransclude>
``` ```
### Custom IDs and class ### HTML attributes
You can configure the ID and class of the tabber element You can add HTML attributes such as ID and class to the tabber element.
```html ```html
<tabber id="very-awesome-tabber" class="awesome-tabber"> <tabber id="very-awesome-tabber" class="awesome-tabber" data-test="awesome-data">
|-|Awesome Tab Title 1= |-|Awesome Tab Title 1=
Awesome first tab content goes here. Awesome first tab content goes here.
|-|Awesome Tab Title 2= |-|Awesome Tab Title 2=