AnyList

AnyList class. There should be one instance per account.

new AnyList(options: object)

Extends EventEmitter

Parameters
options (object) account options
Name Description
options.email string email
options.password string password
Properties
lists (Array<List>)
Instance Members
login()
teardown()
getLists()
getListById(identifier)
getListByName(name)
createItem(item)

AnyList#lists-update

Lists update event (fired when any list is modified by an outside actor). The instance's .lists are updated before the event fires.

AnyList#lists-update

Type: Array<List>

List

List class.

new List(list: object, context: object)
Parameters
list (object) list
context (object) context
Properties
identifier (string)
name (string)
items (Array<Item>)
Instance Members
addItem(item)
removeItem(item)
getItemById(identifier)
getItemByName(name)

Item

Item class.

new Item(item: object, context: object)
Parameters
item (object) item
context (object) context
Properties
listId (string)
identifier (string)
name (string)
details (string)
quantity (string)
checked (string)
manualSortIndex (string)
userId (string)
categoryMatchId (string)
Instance Members
save()