Skip to content

Commit

Permalink
tandem for GrabDragInteraction, update baslines
Browse files Browse the repository at this point in the history
  • Loading branch information
jessegreenberg committed Nov 19, 2019
1 parent 7e50db6 commit 6971ac5
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 1 deletion.
4 changes: 3 additions & 1 deletion js/friction/view/book/BookNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,9 @@ define( require => {

dragCueNode: arrows,

listenersForDrag: [ this.keyboardDragHandler, focusListener ]
listenersForDrag: [ this.keyboardDragHandler, focusListener ],

tandem: tandem.createTandem( 'a11yGrabDragInteractionNode' )
} );


Expand Down
52 changes: 52 additions & 0 deletions js/phet-io/friction-phet-io-elements-baseline.js
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,32 @@ window.phet.phetio.phetioElementsBaseline = assert &&
"phetioStudioControl": true,
"phetioTypeName": "PropertyIO<BooleanIO>"
},
"friction.frictionScreen.view.atomicView.magnifierNodeGrabButton.pressListener.pressAction": {
"phetioDocumentation": "Executes whenever a press occurs. The first argument when executing can be used to convey info about the Event. The arguments are:<br/><ol><li>event: EventIO</li></ol>",
"phetioDynamicElement": false,
"phetioDynamicElementPrototype": false,
"phetioEventType": "USER",
"phetioFeatured": false,
"phetioHighFrequency": false,
"phetioPlayback": false,
"phetioReadOnly": false,
"phetioState": false,
"phetioStudioControl": true,
"phetioTypeName": "ActionIO<EventIO>"
},
"friction.frictionScreen.view.atomicView.magnifierNodeGrabButton.pressListener.releaseAction": {
"phetioDocumentation": "Executes whenever a release occurs. The arguments are:<br/><ol><li>event: NullableIO<EventIO></li></ol>",
"phetioDynamicElement": false,
"phetioDynamicElementPrototype": false,
"phetioEventType": "USER",
"phetioFeatured": false,
"phetioHighFrequency": false,
"phetioPlayback": false,
"phetioReadOnly": false,
"phetioState": false,
"phetioStudioControl": true,
"phetioTypeName": "ActionIO<NullableIO<EventIO>>"
},
"friction.frictionScreen.view.atomicView.opacityProperty": {
"phetioDocumentation": "Opacity of the parent NodeIO, between 0 (invisible) and 1 (fully visible)",
"phetioDynamicElement": false,
Expand Down Expand Up @@ -534,6 +560,32 @@ window.phet.phetio.phetioElementsBaseline = assert &&
"phetioStudioControl": true,
"phetioTypeName": "PropertyIO<BooleanIO>"
},
"friction.frictionScreen.view.topBookNode.a11yGrabDragInteractionNode.pressListener.pressAction": {
"phetioDocumentation": "Executes whenever a press occurs. The first argument when executing can be used to convey info about the Event. The arguments are:<br/><ol><li>event: EventIO</li></ol>",
"phetioDynamicElement": false,
"phetioDynamicElementPrototype": false,
"phetioEventType": "USER",
"phetioFeatured": false,
"phetioHighFrequency": false,
"phetioPlayback": false,
"phetioReadOnly": false,
"phetioState": false,
"phetioStudioControl": true,
"phetioTypeName": "ActionIO<EventIO>"
},
"friction.frictionScreen.view.topBookNode.a11yGrabDragInteractionNode.pressListener.releaseAction": {
"phetioDocumentation": "Executes whenever a release occurs. The arguments are:<br/><ol><li>event: NullableIO<EventIO></li></ol>",
"phetioDynamicElement": false,
"phetioDynamicElementPrototype": false,
"phetioEventType": "USER",
"phetioFeatured": false,
"phetioHighFrequency": false,
"phetioPlayback": false,
"phetioReadOnly": false,
"phetioState": false,
"phetioStudioControl": true,
"phetioTypeName": "ActionIO<NullableIO<EventIO>>"
},
"friction.frictionScreen.view.topBookNode.dragHandler": {
"phetioDocumentation": "",
"phetioDynamicElement": false,
Expand Down

0 comments on commit 6971ac5

Please sign in to comment.