Options
All
  • Public
  • Public/Protected
  • All
Menu

Data interface get ids options.

Type parameters

  • Item

    Item type that may or may not have an id.

Hierarchy

  • DataInterfaceGetIdsOptions

Index

Properties

Properties

Optional filter

filter: undefined | ((item: Item) => boolean)

Items can be filtered on specific properties by providing a filter function. A filter function is executed for each of the items in the DataSet, and is called with the item as parameter. The function must return a boolean. All items for which the filter function returns true will be emitted.

Optional order

order: undefined | keyof Item | ((a: Item, b: Item) => number)

Order the items by a field name or custom sort function.

Generated using TypeDoc