()
| 446 | } |
| 447 | |
| 448 | get_axis_transform() { |
| 449 | const is_vertical = ['left', 'right'].includes(this.model.get('side')); |
| 450 | if (is_vertical) { |
| 451 | return 'translate(' + this.process_offset() + ', 0)'; |
| 452 | } else { |
| 453 | return 'translate(0, ' + this.process_offset() + ')'; |
| 454 | } |
| 455 | } |
| 456 | |
| 457 | process_offset() { |
| 458 | if (this.offset_scale === undefined || this.offset_scale === null) { |
no test coverage detected