fr:code:system:notify
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
fr:code:system:notify [2012/03/23 14:01] – créée wismerheal | fr:code:system:notify [2021/02/13 11:23] (Version actuelle) – modification externe 127.0.0.1 | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | ====== Notify ====== | + | ====== Notify |
- | This object allows sending system | + | Cet objet vous permet d' |
- | ===== Functions | + | ===== Fonctions |
==== Notify ==== | ==== Notify ==== | ||
- | Constructor function. | + | Fonction de construction. |
- | === Syntax | + | === Syntaxe |
<code javascript> | <code javascript> | ||
var myObject = new Notify(); | var myObject = new Notify(); | ||
Ligne 16: | Ligne 16: | ||
=== Arguments === | === Arguments === | ||
- | - parameters - (object) | + | - parameters - (object) |
- | * title - (string) | + | * title - (string) |
- | * text - (string) | + | * text - (string) |
- | * icon - (string) | + | * icon - (string) |
- | * 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.1332511287.txt.gz · Dernière modification : 2021/02/13 11:23 (modification externe)