Skip to content

Commit

Permalink
Docs: Explain how createInstance initialization works
Browse files Browse the repository at this point in the history
  • Loading branch information
thgreasi committed Aug 8, 2020
1 parent c1cc34f commit 655625c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -513,6 +513,8 @@ otherStore.setItem("key", "value2");

Creates a new instance of localForage and returns it. Each object contains its own database and doesn't affect other instances of localForage.
During initialization, each new LocalForage instances tries to open an existing store with the provided name and when that's not available it initializes a new one.

## dropInstance

```js
Expand Down

0 comments on commit 655625c

Please sign in to comment.