protected renderTextarea(el: JQuery) { // Watch checkbox state const property = bindProp(this.getElement("checkbox"), "checked"); // Bind text area state to property bindProp(el, "disabled", property); }
protected renderRect(el: JQuery) { // Watch checkbox state const checked = bindProp(this.getElement("checkbox"), "checked"); // Bind "checked" CSS class to checked property value bindClass(el, "checked", checked); }
protected renderRect(el: JQuery) { // Watch checkbox state const checked = bindProp(this.getElement("checkbox"), "checked"); // Bind rectangle visibility to property value bindDisplay(el, checked); }