UNPKG

node-red-contrib-simplecast

Version:

a simple nodered node to cast to chromecast or googlehome

33 lines (29 loc) 949 B
<script type="text/javascript"> RED.nodes.registerType('simplecast',{ category: 'function', color: '#4285F4', defaults: { name: { value:"" }, host: { value:"" } }, inputs:1, outputs:1, icon: "bridge.png", label: function() { return this.name||"simplecast"; } }); </script> <script type="text/x-red" data-template-name="simplecast"> <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> <div class="form-row"> <label for="node-input-host"><i class="icon-tag"></i> Host</label> <input type="text" id="node-input-host" placeholder="0.0.0.0"> </div> </script> <script type="text/x-red" data-help-name="simplecast"> <p>a simple cast node to chromecast or googlehome</p> </script>