diff options
Diffstat (limited to 'files/fr/archive/mozilla/xul/attributs/oncommand/index.html')
| -rw-r--r-- | files/fr/archive/mozilla/xul/attributs/oncommand/index.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/files/fr/archive/mozilla/xul/attributs/oncommand/index.html b/files/fr/archive/mozilla/xul/attributs/oncommand/index.html new file mode 100644 index 0000000000..947dae79d8 --- /dev/null +++ b/files/fr/archive/mozilla/xul/attributs/oncommand/index.html @@ -0,0 +1,21 @@ +--- +title: oncommand +slug: Archive/Mozilla/XUL/Attributs/oncommand +tags: + - Attributs_XUL + - Référence_XUL +translation_of: Archive/Mozilla/XUL/Attribute/oncommand +--- +<div class="noinclude"><span class="breadcrumbs xulRefAttr_breadcrumbs">« <a href="/fr/docs/R%C3%A9f%C3%A9rence_XUL">Accueil de la référence XUL</a></span></div> +<dl><dt> <code id="a-oncommand"><a href="https://developer.mozilla.org/fr/docs/Mozilla/Tech/XUL/Attributs/oncommand">oncommand</a></code> +</dt><dd> Type : <i>code de script</i> +</dd><dd> Ce gestionnaire d'évènement est appelé lorsque la commande est activée. Cela se produit quand un utilisateur sélectionne un élément de menu ou active un raccourci clavier attaché à la commande. +</dd></dl> +<div class="noinclude"> +<h4 id="Exemple" name="Exemple"> Exemple </h4> +<pre><button label="Cliquez ici" oncommand="alert('Salut')"/> +</pre> +<h4 id="Voir_.C3.A9galement" name="Voir_.C3.A9galement"> Voir également </h4> +<p>L'élément <code><code><a href="/fr/docs/Mozilla/Tech/XUL/command" title="command">command</a></code></code>. +</p> +</div> |
