Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • T

Hierarchy

  • GroupListDto

Index

Constructors

Properties

Constructors

constructor

  • new GroupListDto<T>(list?: T[], nrElements?: number, keepRemainder?: boolean): GroupListDto<T>
  • Type parameters

    • T

    Parameters

    • Optional list: T[]
    • Optional nrElements: number
    • Optional keepRemainder: boolean

    Returns GroupListDto<T>

Properties

keepRemainder

keepRemainder: boolean

If true, the remainder of the list will be added as a separate group

default

false

list

list: T[]

The list of elements to group together

default

undefined

nrElements

nrElements: number

The number of elements in each group

default

2

minimum

1

maximum

Infinity

step

1

Generated using TypeDoc