Storageinterface of the Web Storage API provides access to the session storage or local storage for a particular domain, allowing you to for example add, modify or delete stored data items.
<caption>Element (or HTML Table Caption Element) represents the title of a table. Though it is always the first descendant of a
<table>, its styling, using CSS, may place it elsewhere, relative to the table.
<table>) represents tabular data - i.e., information expressed via a two dimensional data table.
<tr>element data-rows to be the body of its parent
<table>element (as long as no <tr> elements are immediate children of that table element.) In conjunction with a preceding
<tfoot>element, <tbody> provides additional semantic information for devices such as printers and displays. Of the parent table's child elements, <tbody> represents the content which, when longer than a page, will most likely differ for each page printed; while the content of
<tfoot>will be the same or similar for each page printed. For displays, <tbody> will enable separate scrolling of the
<caption>elements of the same parent
<table>element. Note that unlike the <thead>, <tfoot>, and <caption> elements however, multiple <tbody> elements are permitted (if consecutive), allowing the data-rows in long tables to be divided into different sections, each separately formatted as needed.
<td>) defines a cell of a table that contains data. It participates in the table model.
<tfoot>) defines a set of rows summarizing the columns of the table.
<thead>) defines a set of rows defining the head of the columns of the table.
add()method of the
DataStoreinterface adds a new record to the data store; if the record you are attempting to add already exists, it will throw an exception.
clear()method of the
DataStoreinterface deletes all records from the data store, leaving it empty.
get()method of the
DataStoreinterface retrieves one or more objects from the current data store.
getLength()method of the
DataStoreinterface returns the number of records stored in the current data store.
nameread-only property of the
DataStoreinterface returns the name of the current data store.
onchangeevent handler of the
DataStoreinterface fires when a change is made to the data store. Its main use is to synchronize different apps that are using the data store when a change is made. When fired, this event returns a
DataStoreChangeEvent, which can be used to handle the change that was just made. Alternatively, when the event fires you could create a
DataStoreCursorand iterate through all the records, if needed.
ownerread-only property of the
DataStoreinterface returns the name of the app that owns the current data store.