( fixture: ComponentFixture<any>, element: Element, x: number, y: number, )
| 98 | * @param y Position along the y axis to which to drag the element. |
| 99 | */ |
| 100 | export function dragElementViaTouch( |
| 101 | fixture: ComponentFixture<any>, |
| 102 | element: Element, |
| 103 | x: number, |
| 104 | y: number, |
| 105 | ) { |
| 106 | startDraggingViaTouch(fixture, element); |
| 107 | continueDraggingViaTouch(fixture, x, y); |
| 108 | stopDraggingViaTouch(fixture, x, y); |
| 109 | } |
| 110 | |
| 111 | /** |
| 112 | * @param fixture Fixture on which to run change detection. |
no test coverage detected