content.navigation()
Fetches the navigation tree from the handler's navigation route.
content.navigation()
Fetches the navigation tree from the handler's navigation route.
Parameters: none.
Returns: Promise<NavigationItem[]>
usage.ts
const nav = await content.navigation()Usage
usage.ts
const nav = await content.navigation()