Namespace: notifications

notifications

Methods

(static) destroy(done)

Clear your notifications count

Parameters:
Name Type Description
done done Callback
Source:
See:

(static) show(optionsopt, done)

Receive your latest notifications

Parameters:
Name Type Attributes Description
options Object <optional>
options
Properties
Name Type Attributes Description
params.older Number <optional>
Filter parameter: get only records older than the provided id
params.newer Number <optional>
Filter parameter: get only records newer than the provided id
params.per_page Number <optional>
Filter parameter: define the amount of records sent per call (max 50)
params.order String <optional>
Filter parameter: define the order you want to receive the records (does not affect older/newer behaviour). Valid values are asc or desc.
done done Callback
Source:
See: