Interface IListProps<T>

List Properties

interface IListProps<T> {
    camlQuery?: string;
    itemQuery?: IODataQuery;
    listId?: string;
    listName?: string;
    onInitError?: ((...args) => void);
    onInitialized?: (() => void);
    onItemLoading?: ((item?) => void);
    onItemsLoaded?: ((items?) => void);
    onLoadFormError?: ((...args) => void);
    onRefreshItems?: ((items?) => void | PromiseLike<any>);
    onResetForm?: (() => void);
    viewName?: string;
    webUrl?: string;
}

Type Parameters

  • T = Types.SP.ListItem

Properties

camlQuery?: string
itemQuery?: IODataQuery
listId?: string
listName?: string
onInitError?: ((...args) => void)

Type declaration

    • (...args): void
    • Parameters

      • Rest ...args: any[]

      Returns void

onInitialized?: (() => void)

Type declaration

    • (): void
    • Returns void

onItemLoading?: ((item?) => void)

Type declaration

    • (item?): void
    • Parameters

      • Optional item: T

      Returns void

onItemsLoaded?: ((items?) => void)

Type declaration

    • (items?): void
    • Parameters

      • Optional items: T[]

      Returns void

onLoadFormError?: ((...args) => void)

Type declaration

    • (...args): void
    • Parameters

      • Rest ...args: any[]

      Returns void

onRefreshItems?: ((items?) => void | PromiseLike<any>)

Type declaration

    • (items?): void | PromiseLike<any>
    • Parameters

      • Optional items: T[]

      Returns void | PromiseLike<any>

onResetForm?: (() => void)

Type declaration

    • (): void
    • Returns void

viewName?: string
webUrl?: string