Dia antes primera install
This commit is contained in:
16
node_modules/node-red-dashboard/nodes/locales/en-US/ui_toast.html
generated
vendored
Normal file
16
node_modules/node-red-dashboard/nodes/locales/en-US/ui_toast.html
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
<script type="text/html" data-help-name="ui_toast">
|
||||
<p>Shows <code>msg.payload</code> as a popup notification or OK / Cancel dialog
|
||||
message on the user interface.</p>
|
||||
<p>If a <code>msg.topic</code> is available it will be used as the title.</p>
|
||||
<p>If you do not set an optional border highlight colour, then it can be set dynamically by <code>msg.highlight</code>.</p>
|
||||
<p>You may also configure the position and duration of the toast notifications. If you leave the timeout blank
|
||||
it can be set by <code>msg.timeout</code>. This does not apply to OK/Cancel dialogs.
|
||||
<p>The dialog returns a <code>msg.payload</code> string of whatever you configure
|
||||
the button label(s) to be. The second (cancel) button is optional, as is the return
|
||||
value of <code>msg.topic</code>.</p>
|
||||
<p>If you select 'OK, Cancel and Input' mode then <code>msg.payload</code> will contain
|
||||
any text input by the user, rather than the OK button text.</p>
|
||||
<p>The OK and Cancel button labels can be replaced by using <code>msg.ok</code> and <code>msg.cancel</code></p>
|
||||
<p>Sending a blank payload will remove any active dialog without sending any data.</p>
|
||||
<p>If a <b>Class</b> is specified, it will be added to the parent element. This way you can style the card and the elements inside it with custom CSS.</p>
|
||||
</script>
|
||||
Reference in New Issue
Block a user