* Sets the base size. * * @param {Number} width - The width. * @param {Number} height - The height.
(width, height)
| 347 | */ |
| 348 | |
| 349 | setBaseSize(width, height) { |
| 350 | |
| 351 | if(this.baseSize.width !== width || this.baseSize.height !== height) { |
| 352 | |
| 353 | this.baseSize.set(width, height); |
| 354 | this.dispatchEvent({ type: "change" }); |
| 355 | |
| 356 | } |
| 357 | |
| 358 | } |
| 359 | |
| 360 | /** |
| 361 | * The preferred width. |
no test coverage detected