MCPcopy Create free account
hub / github.com/tensorflow/tensorboard / triggerMouseMove

Function triggerMouseMove

tensorboard/webapp/core/views/layout_test.ts:160–171  ·  view source on GitHub ↗
(
      fixture: ComponentFixture<TestableComponent>,
      clientX: number,
      buttons = MouseEventButtons.LEFT
    )

Source from the content-addressed store, hash-verified

158
159 describe('interactions', () => {
160 function triggerMouseMove(
161 fixture: ComponentFixture<TestableComponent>,
162 clientX: number,
163 buttons = MouseEventButtons.LEFT
164 ) {
165 fixture.debugElement.query(byCss.LAYOUT).nativeElement.dispatchEvent(
166 new MouseEvent('mousemove', {
167 buttons,
168 clientX,
169 })
170 );
171 }
172
173 function triggerMouseUp(fixture: ComponentFixture<TestableComponent>) {
174 fixture.debugElement

Callers 1

layout_test.tsFile · 0.85

Calls 2

dispatchEventMethod · 0.80
queryMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…