|
12345678910111213141516171819202122232425262728293031323334 |
- <script type="text/javascript">
- RED.nodes.registerType('Invert',{
- category: 'boolean logic ultimate',
- color: '#ff8080',
- defaults: {
- name: {
- value: "Invert"
- }
- },
- inputs:1,
- outputs:1,
- icon: "serial.png",
- label:
- function() {
- return this.name||"Invert";
- },
- paletteLabel: function() {
- return "Invert";
- }
- });
- </script>
-
- <script type="text/x-red" data-template-name="Invert">
- <div class="form-row">
- <label for="node-input-name"><i class="icon-tag"></i> Name</label>
- <input type="text" id="node-input-name" placeholder="Name">
- </div>
- </script>
-
- <script type="text/x-red" data-help-name="Invert">
- <p>A node that emits the inverted input value.<br/>
- The status indicator represents the output value.
- </p>
- </script>
|