export class RangeNumberWidget { constructor({ widget_id = null, label_text = null, default_val = null, min_val = null, max_val = null, step_val = null, range_col = 8, number_col = 4, } = {}) { this.widget_id = widget_id; this.label_text = label_text; this.default_val = default_val; this.min_val = min_val; this.max_val = max_val; this.step_val = step_val; this.range_col = range_col; this.number_col = number_col; } spawn_in_parent(parent) { this.create_widget(); this.bind_update_functions(); this.append_to_parent(parent); } remove() { this.widget.remove(); } create_widget() { this.widget_html = `