Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "itemProps/selectors"

Index

Type aliases

getCurrentPage

getCurrentPage: function

Type declaration

    • (state: IState, itemType: string): any
    • Parameters

      • state: IState
      • itemType: string

      Returns any

getItemProp

getItemProp: function

Type declaration

    • (state: IState, itemType: string, field: string): any
    • Parameters

      • state: IState
      • itemType: string
      • field: string

      Returns any

getItemPropsState

getItemPropsState: function

Type declaration

    • (state: IState, itemType: string): any
    • Parameters

      • state: IState
      • itemType: string

      Returns any

getPageSize

getPageSize: function

Type declaration

    • (state: IState, itemType: string): any
    • Parameters

      • state: IState
      • itemType: string

      Returns any

getTotalItems

getTotalItems: function

Type declaration

    • (state: IState, itemType: string): any
    • Parameters

      • state: IState
      • itemType: string

      Returns any

getTotalPages

getTotalPages: function

Type declaration

    • (state: IState, itemType: string): any
    • Parameters

      • state: IState
      • itemType: string

      Returns any

Variables

Const _getItemPropsState

_getItemPropsState: any = getDckState('itemProps')

Const getCurrentPage

getCurrentPage: getCurrentPage = createSelector(getItemPropsState,itemPropsState => itemPropsState[ItemProps.currentPage])

Const getItemProp

getItemProp: getItemProp = createSelector([getItemPropsState, get3rdParam],(itemPropsState, prop) => itemPropsState[prop])

Const getItemPropsState

getItemPropsState: getItemPropsState = createSelector(_getItemPropsState,itemPropsState => itemPropsState)

Const getPageSize

getPageSize: getPageSize = createSelector(getItemPropsState,itemPropsState => itemPropsState[ItemProps.pageSize])

Const getTotalItems

getTotalItems: getTotalItems = createSelector(getItemPropsState,itemPropsState => itemPropsState[ItemProps.totalItems])

Const getTotalPages

getTotalPages: getTotalPages = createSelector(getItemPropsState,itemPropsState => itemPropsState[ItemProps.totalPages])

Made by Horyus. Documentation generated by TypeDoc.