(value)
| 129 | } |
| 130 | |
| 131 | validationWidth(value) { |
| 132 | if (this.validationWidthValue(value)) { |
| 133 | this.newW = value; |
| 134 | } else { |
| 135 | this.inputW.value = this.inputWLimit; |
| 136 | this.newW = this.inputWLimit; |
| 137 | return; |
| 138 | } |
| 139 | |
| 140 | if (Resizer.validationEmptyValue(value)) { |
| 141 | this.newW = value; |
| 142 | } else { |
| 143 | this.inputW.value = '0'; |
| 144 | this.newW = 0; |
| 145 | } |
| 146 | } |
| 147 | |
| 148 | open() { |
| 149 | this.wrapper.removeAttribute('hidden'); |
no test coverage detected