# Generic List

Work in Progress (06/02/2020)

This section is still a work in progress. It will be updated soon.

# Properties

items        = {};
$readyAll    = false;
$readySome   = false;
/* This promise will resolve once ALL the data is ready */
$promise     = Promise.resolve();
$numReady    = 0;
$noaccess    = null;
$numChildren = 0;

_store_name  = name;
_unwatch     = null;

# Getters

# $idList

  • TODO
get $idList()

# itemsSorted

  • TODO
get itemsSorted()

# Methods

# constructor

constructor( name )

# getItemByIdx

  • TODO
getItemByIdx( idx )

# asArraySorted

  • TODO
asArraySorted()

# asArraySortedBy

  • TODO
asArraySortedBy(prop)

# asArrayFilteredBy

  • TODO
asArrayFilteredBy(prop, value)

# itemsAsArrayWithoutDeleted

  • TODO
itemsAsArrayWithoutDeleted( custom_sortidx )

# itemsAsArrayOnlyDeleted

  • TODO
itemsAsArrayOnlyDeleted( custom_sortidx )

# reset

  • TODO
reset()