fr:code:system:notify
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
fr:code:system:notify [2012/03/23 14:15] – wismerheal | fr:code:system:notify [2021/02/13 11:23] (Version actuelle) – modification externe 127.0.0.1 | ||
---|---|---|---|
Ligne 19: | Ligne 19: | ||
* title - (string) le titre de la notification | * title - (string) le titre de la notification | ||
* text - (string) le texte de la notification | * text - (string) le texte de la notification | ||
- | * icon - (string) le nom de l’icône de la notification ou le chemi vers le fichier image (voir[[http:// | + | * icon - (string) le nom de l’icône de la notification ou le chemin |
- | * timeout - (integer) | + | * timeout - (integer) |
=== Example === | === Example === | ||
Ligne 33: | Ligne 33: | ||
</ | </ | ||
- | ===== Methods | + | ===== Méthodes |
==== show ==== | ==== show ==== | ||
- | Shows the notification. | + | Fait apparaître la notification. |
- | === Syntax | + | === Syntaxe |
<code javascript> | <code javascript> | ||
myObject.show(); | myObject.show(); | ||
Ligne 47: | Ligne 47: | ||
=== Arguments === | === Arguments === | ||
- | - parameters - (object) | + | - parameters - (object) |
- | * title - (string) | + | * title - (string) |
- | * text - (string) | + | * text - (string) |
- | * icon - (string) | + | * icon - (string) |
- | * timeout - (integer) | + | * timeout - (integer) |
- | === Returns | + | === Renvoie |
- | * (Notify) | + | * (Notify) |
=== Exceptions === | === Exceptions === | ||
- | * (NotificationError) | + | * (NotificationError) |
=== Example === | === Example === | ||
Ligne 71: | Ligne 71: | ||
=== Notes === | === Notes === | ||
- | If you want to update a notification's text re-use a single | + | Si vous voulez mettre à jour un texte de notification, réutilisez un simple objet Notify |
fr/code/system/notify.1332512134.txt.gz · Dernière modification : 2021/02/13 11:23 (modification externe)