tprepare: function () {
                const node = this
                const sel = $('#node-input-events')
                for (const name of ['all', 'change', 'connect']) {
                    const text = c_('events.' + name)
                    $('<option/>').val(name).text(text).appendTo(sel)
                }
                $(sel).val(node.events)
            }
        })
    })()
</script>

<script type="text/html" data-template-name="ui-control">
    <div class="form-row">
        <label for="nod