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

Class AddItemAtIndexDto<T>

Type parameters

  • T

Hierarchy

  • AddItemAtIndexDto

Index

Constructors

Properties

Constructors

constructor

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

    • T

    Parameters

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

    Returns AddItemAtIndexDto<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

index

index: number

The index to add the item at

default

0

minimum

0

maximum

Infinity

step

1

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