lundi 28 août 2017

Dexie: How do I add a tab to the beginning?

We make an open source browser.

Please correct the add-on of the tabs. It is necessary that the tab is added to the beginning. Now the tab is added to the end:

var newTab = tabs.add({}, tabs.getIndex(tabs.getSelected()) + 1)

link to the GitHub repository

Tried these options:

tabs.add({}, 0)
tabs.add({})
tabs.put({})

How do I add a tab to the beginning?




Aucun commentaire:

Enregistrer un commentaire