Add a keyboard shortcut to open the sidebar (#203)

This commit is contained in:
wbamberg
2017-04-05 14:02:49 -07:00
committed by GitHub
parent 4d2bf35413
commit f749846e3a
2 changed files with 11 additions and 1 deletions

View File

@@ -4,6 +4,8 @@
This example adds a sidebar that lets you take notes on the current web page. The notes are saved to local storage, and the notes for each page are shown again when you open that page again.
The example also uses the `commands` manifest key to add a keyboard shortcut that opens the sidebar.
## What it shows
How to create a sidebar for an add-on. How to associate the sidebar with the currently active tab in that sidebar's window. How to store and restore sidebar content.