(spec: any)
| 63 | } |
| 64 | |
| 65 | update_input(spec: any): any { |
| 66 | let attributes = spec.attributes; |
| 67 | if ('value' in attributes) { |
| 68 | let range_value = this.element.find('.form-control-range-value'); |
| 69 | range_value.text( |
| 70 | this.spec['float'] ? this.get_value().toFixed(2) : attributes.value |
| 71 | ); |
| 72 | } |
| 73 | this.update_input_helper(-1, attributes); |
| 74 | } |
| 75 | |
| 76 | get_value(): any { |
| 77 | let val = this.element.find('input[type="range"]').val(); |
nothing calls this directly
no test coverage detected