Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
bokeh / server / static / js / lib / models / widgets / control.js
Size: Mime:
import { Widget, WidgetView } from "./widget";
import { toggle_attribute } from "../../core/dom";
export class ControlView extends WidgetView {
    connect_signals() {
        super.connect_signals();
        const p = this.model.properties;
        this.on_change(p.disabled, () => {
            for (const el of this.controls()) {
                toggle_attribute(el, "disabled", this.model.disabled);
            }
        });
    }
}
ControlView.__name__ = "ControlView";
export class Control extends Widget {
    constructor(attrs) {
        super(attrs);
    }
}
Control.__name__ = "Control";
//# sourceMappingURL=control.js.map