UNPKG

node-red-contrib-netvar-utils

Version:

Network Variable List utility nodes for node-red

50 lines (46 loc) 1.32 kB
<script type="text/javascript"> (function () { 'use strict'; RED.nodes.registerType('nvl-json', { category: 'codesys', color: '#a6bbcf', defaults: { name: { value: '' }, nvl: { value: '', type: 'nvl-config', required: true, }, }, inputs: 1, outputs: 1, icon: 'codesys.svg', paletteLabel: 'nvl json', label: function () { return this.name || 'nvl json'; }, }); })(); </script> <script type="text/html" data-template-name="nvl-json"> <div class="form-row"> <label for="node-input-name"><i class="fa fa-tag"></i> Name</label> <input type="text" id="node-input-name" placeholder="Name" /> </div> <div class="form-row"> <label for="node-input-nvl"><i class="fa fa-th-list"></i> NVL </label> <input type="text" id="node-input-nvl" /> </div> </script> <script type="text/html" data-help-name="nvl-json"> <p>Creates a JSON object with falsy values based on a network variable list.</p> <h3>Output</h3> <dl class="message-properties"> <dt> payload <span class="property-type">object</span> </dt> <dd>created json object</dd> </dl> </script> //# sourceMappingURL=nvl-json.html.map