UNPKG

@cgignite/ignite-sendgrid

Version:

Send Grid node allows you to send email within your Ignite APIs and apps via Send Grid

38 lines 1.33 kB
<script type="text/javascript"> RED.nodes.registerType('send-grid-config', { category: 'config', color: '#3d7e9a', defaults: { name: { value: "" }, from: { value: "" }, templateid: { value: "" } }, credentials: { apikey: { value: "" }, }, inputs: 1, outputs: 1, icon: 'font-awesome/fa-unlock-alt', label: function () { return this.name || "send grid config"; } }); </script> <script type="text/html" data-template-name="send-grid-config"> <div class="form-row"> <label for="node-config-input-name">Name</label> <input type="text" id="node-config-input-name" placeholder="name"> </div> <div class="form-row"> <label for="node-config-input-from">From Email</label> <input type="text" id="node-config-input-from" placeholder="from"> </div> <div class="form-row"> <label for="node-config-input-templateid">Template id</label> <input type="text" id="node-config-input-templateid" placeholder="templateid"> </div> <div class="form-row"> <label for="node-config-input-apikey">API Key</label> <input type="password" id="node-config-input-apikey" placeholder="apikey"> </div> </script>