Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "items/hooks"

Index

Type aliases

TOptItem

TOptItem: function

Type declaration

    • (id: string | number | undefined): any
    • Parameters

      • id: string | number | undefined

      Returns any

TRemoveItem

TRemoveItem: function

Type declaration

    • (id: string | number): any
    • Parameters

      • id: string | number

      Returns any

TSelectItem

TSelectItem: function

Type declaration

    • (id: string | number, selected: boolean): any
    • Parameters

      • id: string | number
      • selected: boolean

      Returns any

TSetItem

TSetItem: function

Type declaration

    • (id: string | number, item: any): any
    • Parameters

      • id: string | number
      • item: any

      Returns any

TSetItems

TSetItems: function

Type declaration

    • (items: any[]): any
    • Parameters

      • items: any[]

      Returns any

Functions

Const useItem

  • useItem(itemType: string, id: string | number): any[]

Const useItemSelected

  • useItemSelected(itemType: string, id: string | number): boolean

Const useItems

  • useItems(itemType: string): any[]

Const useOptItem

  • useOptItem(itemType: string): TOptItem

Const useOptedItem

  • useOptedItem(itemType: string): any

Const useOptedItemId

  • useOptedItemId(itemType: string): string | number

Const useRemoveItem

Const useSelectItem

Const useSelectedItems

  • useSelectedItems(itemType: string): any[]

Const useSelectedItemsIds

  • useSelectedItemsIds(itemType: string): any[]

Const useSetItem

  • useSetItem(itemType: string): TSetItem

Const useSetItems

Made by Horyus. Documentation generated by TypeDoc.