UNPKG

@droneblocks/node-red-dexi

Version:

You want to make sure you don't lose any of your flow development. Make sure to map the host "flows" directory to the container directory as shown below. This will store the flow on your host machine if/when the container is destroyed.

31 lines (28 loc) 917 B
<script type="text/javascript"> RED.nodes.registerType('flight-mode', { category: 'DEXI', color: '#a6bbcf', defaults: { mode: { value: "Hold" } // Default mode }, inputs: 1, outputs: 1, icon: "font-awesome/fa-arrows", label: function () { return "Flight Mode: " + this.mode; } }); </script> <script type="text/html" data-template-name="flight-mode"> <div class="form-row"> <label for="node-input-mode"><i class="fa fa-plane"></i>Flight Mode</label> <select id="node-input-mode"> <option value="Hold">Hold</option> <option value="Position">Position</option> <option value="Offboard">Offboard</option> </select> </div> </script> <script type="text/html" data-help-name="flight-mode"> <p>Select a flight mode from the dropdown.</p> </script>