Options
All
  • Public
  • Public/Protected
  • All
Menu
Logo of bit by bit developers

Class AddItemAtIndexesDto<T>

Type parameters

  • T

Hierarchy

  • AddItemAtIndexesDto

Index

Constructors

Properties

Constructors

constructor

  • new AddItemAtIndexesDto<T>(list?: T[], item?: T, indexes?: number[], clone?: boolean): AddItemAtIndexesDto<T>
  • Type parameters

    • T

    Parameters

    • Optional list: T[]
    • Optional item: T
    • Optional indexes: number[]
    • Optional clone: boolean

    Returns AddItemAtIndexesDto<T>

Properties

Optional clone

clone: boolean

Tries to make structured clone of the incoming list data in the component, sometimes it may not be possible due to circular structures or other types of error

default

true

indexes

indexes: number[]

The index to add the item at

default

[0]

item

item: T

The item to add

default

undefined

list

list: T[]

The list to which item needs to be added

default

undefined

Generated using TypeDoc