Backstage
    Preparing search index...

    Interface NavContentNavItemsWithComponent

    A pre-bound renderer that wraps NavContentNavItems with a component, so that take and rest return rendered elements directly.

    interface NavContentNavItemsWithComponent {
        rest(options?: { sortBy?: "title" }): Element[];
        take(id: string): Element | null;
    }
    Index

    Methods

    Methods

    • Render all remaining items not yet taken, optionally sorted.

      The returned array is live and is updated when later take calls remove items from the collection.

      Parameters

      • Optionaloptions: { sortBy?: "title" }

      Returns Element[]