![]() ![]() ![]() If there are no alarms available, we’re just showing “no items available”. If there are, we’re looping over them and displaying them using the appendItem helper function, which just appends an HTML list element li to #alarmsList. We’re then checking if there are any alarms. When the document is ready, we’re using to get the alarms created by the user. You’ll also need to include this file in popup.html. Then add a manifest.json with the following content: Recommended sizes to add are 16px, 32px, 48px, and 128px.įor our add-on, let’s start by creating a folder named firefox-alarms-addon. These icons will be used in the settings, toolbar of the browser, and other places as well.
0 Comments
Leave a Reply. |