Class List<T>

List

Type Parameters

  • T = Types.SP.ListItem

Hierarchy

  • List

Constructors

Properties

_camlQuery: string = null

Public Properties

_items: T[] = null
_listContentTypes: ContentTypeOData[] = null
_listFields: Field[] = null
_listInfo: List = null
_listName: string = null
_listUrl: string = null
_listViews: ViewOData[] = null
_odata: IODataQuery = null
_onInitError: ((...args) => void) = null

Type declaration

    • (...args): void
    • Private Properties

      Parameters

      • Rest ...args: any[]

      Returns void

_onInitialized?: (() => void) = null

Type declaration

    • (): void
    • Returns void

_onItemLoading?: ((item?) => void) = null

Type declaration

    • (item?): void
    • Parameters

      • Optional item: T

      Returns void

_onItemsLoaded?: ((items?) => void) = null

Type declaration

    • (items?): void
    • Parameters

      • Optional items: T[]

      Returns void

_onLoadFormError: ((...args) => void) = null

Type declaration

    • (...args): void
    • Parameters

      • Rest ...args: any[]

      Returns void

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

Type declaration

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

      • Optional items: T[]

      Returns void | PromiseLike<any>

_onResetForm: (() => void) = null

Type declaration

    • (): void
    • Returns void

_requestDigest: string = null
_viewName: string = null
_viewXml: string = null
_webUrl: string = null

Accessors

Methods

  • Parameters

    • values: any

    Returns PromiseLike<T>

  • Parameters

    • itemId: number
    • query: IODataQuery = ...

    Returns PromiseLike<T>

  • Parameters

    • Optional query: IODataQuery

    Returns PromiseLike<T[]>

  • Parameters

    • query: IODataQuery = ...

    Returns PromiseLike<T[]>

  • Parameters

    • query: IODataQuery = ...

    Returns PromiseLike<T[]>

  • Parameters

    • itemId: number
    • query: IODataQuery = ...

    Returns PromiseLike<T>

  • Parameters

    • itemId: number
    • values: any

    Returns PromiseLike<void>

Generated using TypeDoc