(elem: JQuery, name: string, params: Record<'min' | 'max', number>)
| 186 | private readonly max: number; |
| 187 | |
| 188 | constructor(elem: JQuery, name: string, params: Record<'min' | 'max', number>) { |
| 189 | super(elem, name); |
| 190 | |
| 191 | this.min = params.min; |
| 192 | this.max = params.max; |
| 193 | |
| 194 | elem.attr('min', this.min).attr('max', this.max); |
| 195 | } |
| 196 | |
| 197 | override getUi(): number { |
| 198 | return this.clampValue(Number.parseInt(this.val()?.toString() ?? '0', 10)); |
nothing calls this directly
no outgoing calls
no test coverage detected