()
| 123 | } |
| 124 | |
| 125 | get_value(): any { |
| 126 | this.rectify_input() |
| 127 | let val = this.element.find('input').val(); |
| 128 | if (this.spec['type'] == 'number') |
| 129 | val = parseInt(val as string); |
| 130 | else if (this.spec['type'] == 'float') |
| 131 | val = parseFloat(val as string); |
| 132 | return val; |
| 133 | } |
| 134 | } |
| 135 |
no test coverage detected