README ms not seconds

This commit is contained in:
Paul-Vincent Roll 2016-04-03 20:31:09 +02:00
parent a55a2bcca0
commit e323a315e1

View File

@ -144,7 +144,7 @@ self.sendNotification("SHOW_ALERT", {type: "alert"});
</tr> </tr>
<tr> <tr>
<td><code>timer</code> (optional)</td> <td><code>timer</code> (optional)</td>
<td>How long the alert should stay visible in seconds. <td>How long the alert should stay visible in ms.
<br><b>Important:</b> If you do not use the <code>timer</code>, it is your duty to hide the alert by using <code>self.sendNotification("HIDE_ALERT");</code>!<br> <br><b>Important:</b> If you do not use the <code>timer</code>, it is your duty to hide the alert by using <code>self.sendNotification("HIDE_ALERT");</code>!<br>
<br><b>Possible values:</b> <code>int</code> <code>float</code> <br><b>Possible values:</b> <code>int</code> <code>float</code>
<br><b>Default value:</b> <code>none</code> <br><b>Default value:</b> <code>none</code>