Supported Extensions
x-zudoku-collapsed
Use x-zudoku-collapsed to control whether a tag category starts expanded or collapsed in the API
navigation sidebar.
Location
The extension is added at the Tag Object level.
| Option | Type | Description |
|---|---|---|
x-zudoku-collapsed | boolean | Whether the tag starts collapsed. Defaults to true (collapsed). |
When not set, the collapsed state falls back to the inverse of the
expandAllTags option in the API configuration.
Example
Code
In this example, Getting Started is expanded by default while Advanced starts collapsed.
Related
x-zudoku-collapsible— control whether a tag section can be collapsed at all
Last modified on