GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

Search e01

One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.

6 results across 6 corpora for menus.onClicked.

Developer library 6

React interactivity: Events and state

Learn_web_development/Core/Frameworks_libraries/React_interactivity_filtering_conditional_rendering With our component plan worked out, it's now time to start updating our app from a completely static UI to one that actually allows us to interact and change things. In this article we'll do this, digging into events and state along the way, and ending up with an app in which we can successfully add and delete tasks,

Accessible multimedia

Learn_web_development/Core/Accessibility/Mobile Another category of content that can create accessibility problems is multimedia. Video, audio, and image content need to be given proper textual alternatives so that they can be understood by assistive technologies and their users. This article shows how. <table> <tbody> <tr> <th scope="row">Prerequisites:</th> <td>Familiarity with <a href="/en-US/d

HTML: A good basis for accessibility

Learn_web_development/Core/Accessibility/Test_your_skills/HTML A great deal of web content can be made accessible just by making sure the correct Hypertext Markup Language elements are used for the correct purpose at all times. This article looks in detail at how HTML can be used to ensure maximum accessibility. <table> <tbody> <tr> <th scope="row">Prerequisites:</th> <td>Familiarity with <a href=

Add a button to the toolbar

d give it the following contents: ```js function openPage() { browser.tabs.create({ url: "https://developer.mozilla.org", }); } browser.browserAction.onClicked.addListener(openPage); ``` This listens for the browser action's click event; when the event fires, the `openPage()` function is run, which opens the specified page using the [`tabs`](/docs/Mozilla/Add-ons/WebExtensions/API/tabs) API. At this point

action

on, specified in 2 sizes. The extension's background scripts can receive click events when the user clicks the icon using code like this: ```js browser.action.onClicked.addListener(handleClick); ``` ```json "action": { "default_icon": { "16": "button/geo-16.png", "32": "button/geo-32.png" }, "default_title": "Whereami?", "default_popup": "popup/geo.html" } ``` An action with an icon, a title, and a

browser_action

2 different sizes. The extension's background scripts can receive click events when the user clicks the icon using code like this: ```js browser.browserAction.onClicked.addListener(handleClick); ``` ```json "browser_action": { "default_icon": { "16": "button/geo-16.png", "32": "button/geo-32.png" }, "default_title": "Whereami?", "default_popup": "popup/geo.html" } ``` A browser action with an icon,

JSON results · Services directory