Memento JavaScript Library: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 60: Line 60:
::; query: the search string
::; query: the search string
:; Result: Array object containing matching entries. Entries are sorted by the time of their creation, from newest to oldest.
:; Result: Array object containing matching entries. Entries are sorted by the time of their creation, from newest to oldest.
===== findById(id) =====
: Search all entries by entry ID.
: '''Argument'''
::; id: the ID string uniquely identifying the entry.
:; Result: [[#Object Entry|'''''Entry''''' object]], if found. Otherwise, ''null''.


===== findByKey(name) =====
===== findByKey(name) =====