Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • T

Hierarchy

  • SortJsonDto

Index

Constructors

Properties

Constructors

constructor

  • new SortJsonDto<T>(list?: T[], clone?: boolean, orderAsc?: boolean): SortJsonDto<T>
  • Type parameters

    • T

    Parameters

    • Optional list: T[]
    • Optional clone: boolean
    • Optional orderAsc: boolean

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

list

list: T[]

The list to interrogate

default

undefined

orderAsc

orderAsc: boolean

If true, the list will be sorted in ascending order, otherwise in descending order

default

true

property

property: string

The property to sort by

default

propName

Generated using TypeDoc