()
| 435 | } |
| 436 | |
| 437 | get_basic_transform() { |
| 438 | const is_vertical = ['left', 'right'].includes(this.model.get('side')); |
| 439 | const side = this.model.get('side'); |
| 440 | |
| 441 | if (is_vertical) { |
| 442 | return side === 'right' ? this.width + this.autoOffset : -this.autoOffset; |
| 443 | } else { |
| 444 | return side === 'top' ? -this.autoOffset : this.height + this.autoOffset; |
| 445 | } |
| 446 | } |
| 447 | |
| 448 | get_axis_transform() { |
| 449 | const is_vertical = ['left', 'right'].includes(this.model.get('side')); |
no outgoing calls
no test coverage detected