Skip to main content

TreeDataLoader <T>

Index

Properties

getChildren

getChildren: (itemId: string) => string[] | Promise<string[]>

Type declaration

    • (itemId: string): string[] | Promise<string[]>
    • Parameters

      • itemId: string

      Returns string[] | Promise<string[]>

getItem

getItem: (itemId: string) => T | Promise<T>

Type declaration

    • (itemId: string): T | Promise<T>
    • Parameters

      • itemId: string

      Returns T | Promise<T>