// configure the class for runtime loading if (!window.fbControls) window.fbControls = [] window.fbControls.push(function (controlClass) { class controlCpTest extends controlClass { /** * Class configuration - return the icons & label related to this control * @returndefinition object */ static get definition() { return { icon: 'ðŸ”', i18n: { default: 'B test', }, } } /** * Build a text DOM element, supporting other JQUery text from controls * @return {Object} DOM Element to be injected into the form. */ build() { const header = controlClass.mi18n('headerBtn'); const buttonMsg = controlClass.mi18n('buttonMsg'); const alert = controlClass.mi18n('alert'); var test = this.markup('form', `