From 1a79d1091500062f9180d365b477d36ddcbb79a7 Mon Sep 17 00:00:00 2001 From: zepumph Date: Thu, 1 Aug 2019 13:35:47 -0800 Subject: [PATCH] create phetioPrivate to hide action parameters from phet-io, https://github.com/phetsims/axon/issues/257 --- .../arithmetic-phet-io-elements-baseline.js | 112 +++++++++--------- js/phet-io/arithmetic-phet-io-types.js | 22 ++-- 2 files changed, 64 insertions(+), 70 deletions(-) diff --git a/js/phet-io/arithmetic-phet-io-elements-baseline.js b/js/phet-io/arithmetic-phet-io-elements-baseline.js index 2686e5f2..b8faf86d 100644 --- a/js/phet-io/arithmetic-phet-io-elements-baseline.js +++ b/js/phet-io/arithmetic-phet-io-elements-baseline.js @@ -86,7 +86,7 @@ window.phet.phetio.phetioElementsBaseline = assert && "phetioTypeName": "EmitterIO.<>" }, "arithmetic.general.barrierRectangle.inputListener.pressAction": { - "phetioDocumentation": "Executes whenever a press occurs. The first argument when executing can be used to convey info about the Event. The arguments are:
  1. event: EventIO
  2. \n
  3. targetNode: VoidIO
  4. \n
  5. callback: VoidIO
", + "phetioDocumentation": "Executes whenever a press occurs. The first argument when executing can be used to convey info about the Event. The arguments are:
  1. event: EventIO
", "phetioDynamicElement": false, "phetioEventType": "USER", "phetioFeatured": false, @@ -95,10 +95,10 @@ window.phet.phetio.phetioElementsBaseline = assert && "phetioReadOnly": false, "phetioState": false, "phetioStudioControl": true, - "phetioTypeName": "ActionIO." + "phetioTypeName": "ActionIO." }, "arithmetic.general.barrierRectangle.inputListener.releaseAction": { - "phetioDocumentation": "Executes whenever a release occurs. The arguments are:
  1. event: NullableIO.
  2. \n
  3. callback: VoidIO
", + "phetioDocumentation": "Executes whenever a release occurs. The arguments are:
  1. event: NullableIO.
", "phetioDynamicElement": false, "phetioEventType": "USER", "phetioFeatured": false, @@ -107,7 +107,7 @@ window.phet.phetio.phetioElementsBaseline = assert && "phetioReadOnly": false, "phetioState": false, "phetioStudioControl": true, - "phetioTypeName": "ActionIO., VoidIO>" + "phetioTypeName": "ActionIO.>" }, "arithmetic.general.barrierRectangle.opacityProperty": { "phetioDocumentation": "Opacity of the parent NodeIO, between 0 (invisible) and 1 (fully visible)", @@ -458,7 +458,7 @@ window.phet.phetio.phetioElementsBaseline = assert && "phetioTypeName": "PropertyIO.>" }, "arithmetic.general.navigationBar.divideScreenButton.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:
  1. event: EventIO
  2. \n
  3. targetNode: VoidIO
  4. \n
  5. callback: VoidIO
", + "phetioDocumentation": "Executes whenever a press occurs. The first argument when executing can be used to convey info about the Event. The arguments are:
  1. event: EventIO
", "phetioDynamicElement": false, "phetioEventType": "USER", "phetioFeatured": false, @@ -467,10 +467,10 @@ window.phet.phetio.phetioElementsBaseline = assert && "phetioReadOnly": false, "phetioState": false, "phetioStudioControl": true, - "phetioTypeName": "ActionIO." + "phetioTypeName": "ActionIO." }, "arithmetic.general.navigationBar.divideScreenButton.pressListener.releaseAction": { - "phetioDocumentation": "Executes whenever a release occurs. The arguments are:
  1. event: NullableIO.
  2. \n
  3. callback: VoidIO
", + "phetioDocumentation": "Executes whenever a release occurs. The arguments are:
  1. event: NullableIO.
", "phetioDynamicElement": false, "phetioEventType": "USER", "phetioFeatured": false, @@ -479,7 +479,7 @@ window.phet.phetio.phetioElementsBaseline = assert && "phetioReadOnly": false, "phetioState": false, "phetioStudioControl": true, - "phetioTypeName": "ActionIO., VoidIO>" + "phetioTypeName": "ActionIO.>" }, "arithmetic.general.navigationBar.divideScreenButton.text": { "phetioDocumentation": "", @@ -662,7 +662,7 @@ window.phet.phetio.phetioElementsBaseline = assert && "phetioTypeName": "PropertyIO.>" }, "arithmetic.general.navigationBar.factorScreenButton.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:
  1. event: EventIO
  2. \n
  3. targetNode: VoidIO
  4. \n
  5. callback: VoidIO
", + "phetioDocumentation": "Executes whenever a press occurs. The first argument when executing can be used to convey info about the Event. The arguments are:
  1. event: EventIO
", "phetioDynamicElement": false, "phetioEventType": "USER", "phetioFeatured": false, @@ -671,10 +671,10 @@ window.phet.phetio.phetioElementsBaseline = assert && "phetioReadOnly": false, "phetioState": false, "phetioStudioControl": true, - "phetioTypeName": "ActionIO." + "phetioTypeName": "ActionIO." }, "arithmetic.general.navigationBar.factorScreenButton.pressListener.releaseAction": { - "phetioDocumentation": "Executes whenever a release occurs. The arguments are:
  1. event: NullableIO.
  2. \n
  3. callback: VoidIO
", + "phetioDocumentation": "Executes whenever a release occurs. The arguments are:
  1. event: NullableIO.
", "phetioDynamicElement": false, "phetioEventType": "USER", "phetioFeatured": false, @@ -683,7 +683,7 @@ window.phet.phetio.phetioElementsBaseline = assert && "phetioReadOnly": false, "phetioState": false, "phetioStudioControl": true, - "phetioTypeName": "ActionIO., VoidIO>" + "phetioTypeName": "ActionIO.>" }, "arithmetic.general.navigationBar.factorScreenButton.text": { "phetioDocumentation": "", @@ -818,7 +818,7 @@ window.phet.phetio.phetioElementsBaseline = assert && "phetioTypeName": "PropertyIO.>" }, "arithmetic.general.navigationBar.homeButton.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:
  1. event: EventIO
  2. \n
  3. targetNode: VoidIO
  4. \n
  5. callback: VoidIO
", + "phetioDocumentation": "Executes whenever a press occurs. The first argument when executing can be used to convey info about the Event. The arguments are:
  1. event: EventIO
", "phetioDynamicElement": false, "phetioEventType": "USER", "phetioFeatured": false, @@ -827,10 +827,10 @@ window.phet.phetio.phetioElementsBaseline = assert && "phetioReadOnly": false, "phetioState": false, "phetioStudioControl": true, - "phetioTypeName": "ActionIO." + "phetioTypeName": "ActionIO." }, "arithmetic.general.navigationBar.homeButton.pressListener.releaseAction": { - "phetioDocumentation": "Executes whenever a release occurs. The arguments are:
  1. event: NullableIO.
  2. \n
  3. callback: VoidIO
", + "phetioDocumentation": "Executes whenever a release occurs. The arguments are:
  1. event: NullableIO.
", "phetioDynamicElement": false, "phetioEventType": "USER", "phetioFeatured": false, @@ -839,7 +839,7 @@ window.phet.phetio.phetioElementsBaseline = assert && "phetioReadOnly": false, "phetioState": false, "phetioStudioControl": true, - "phetioTypeName": "ActionIO., VoidIO>" + "phetioTypeName": "ActionIO.>" }, "arithmetic.general.navigationBar.homeButton.visibleProperty": { "phetioDocumentation": "Controls whether the Node will be visible (and interactive), see the NodeIO documentation for more details.", @@ -962,7 +962,7 @@ window.phet.phetio.phetioElementsBaseline = assert && "phetioTypeName": "PropertyIO.>" }, "arithmetic.general.navigationBar.multiplyScreenButton.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:
  1. event: EventIO
  2. \n
  3. targetNode: VoidIO
  4. \n
  5. callback: VoidIO
", + "phetioDocumentation": "Executes whenever a press occurs. The first argument when executing can be used to convey info about the Event. The arguments are:
  1. event: EventIO
", "phetioDynamicElement": false, "phetioEventType": "USER", "phetioFeatured": false, @@ -971,10 +971,10 @@ window.phet.phetio.phetioElementsBaseline = assert && "phetioReadOnly": false, "phetioState": false, "phetioStudioControl": true, - "phetioTypeName": "ActionIO." + "phetioTypeName": "ActionIO." }, "arithmetic.general.navigationBar.multiplyScreenButton.pressListener.releaseAction": { - "phetioDocumentation": "Executes whenever a release occurs. The arguments are:
  1. event: NullableIO.
  2. \n
  3. callback: VoidIO
", + "phetioDocumentation": "Executes whenever a release occurs. The arguments are:
  1. event: NullableIO.
", "phetioDynamicElement": false, "phetioEventType": "USER", "phetioFeatured": false, @@ -983,7 +983,7 @@ window.phet.phetio.phetioElementsBaseline = assert && "phetioReadOnly": false, "phetioState": false, "phetioStudioControl": true, - "phetioTypeName": "ActionIO., VoidIO>" + "phetioTypeName": "ActionIO.>" }, "arithmetic.general.navigationBar.multiplyScreenButton.text": { "phetioDocumentation": "", @@ -1130,7 +1130,7 @@ window.phet.phetio.phetioElementsBaseline = assert && "phetioTypeName": "EmitterIO.<>" }, "arithmetic.general.navigationBar.phetButton.phetMenu.aboutMenuItem.inputListener.pressAction": { - "phetioDocumentation": "Executes whenever a press occurs. The first argument when executing can be used to convey info about the Event. The arguments are:
  1. event: EventIO
  2. \n
  3. targetNode: VoidIO
  4. \n
  5. callback: VoidIO
", + "phetioDocumentation": "Executes whenever a press occurs. The first argument when executing can be used to convey info about the Event. The arguments are:
  1. event: EventIO
", "phetioDynamicElement": false, "phetioEventType": "USER", "phetioFeatured": false, @@ -1139,10 +1139,10 @@ window.phet.phetio.phetioElementsBaseline = assert && "phetioReadOnly": false, "phetioState": false, "phetioStudioControl": true, - "phetioTypeName": "ActionIO." + "phetioTypeName": "ActionIO." }, "arithmetic.general.navigationBar.phetButton.phetMenu.aboutMenuItem.inputListener.releaseAction": { - "phetioDocumentation": "Executes whenever a release occurs. The arguments are:
  1. event: NullableIO.
  2. \n
  3. callback: VoidIO
", + "phetioDocumentation": "Executes whenever a release occurs. The arguments are:
  1. event: NullableIO.
", "phetioDynamicElement": false, "phetioEventType": "USER", "phetioFeatured": false, @@ -1151,7 +1151,7 @@ window.phet.phetio.phetioElementsBaseline = assert && "phetioReadOnly": false, "phetioState": false, "phetioStudioControl": true, - "phetioTypeName": "ActionIO., VoidIO>" + "phetioTypeName": "ActionIO.>" }, "arithmetic.general.navigationBar.phetButton.phetMenu.aboutMenuItem.opacityProperty": { "phetioDocumentation": "Opacity of the parent NodeIO, between 0 (invisible) and 1 (fully visible)", @@ -1214,7 +1214,7 @@ window.phet.phetio.phetioElementsBaseline = assert && "phetioTypeName": "EmitterIO.<>" }, "arithmetic.general.navigationBar.phetButton.phetMenu.screenshotMenuItem.inputListener.pressAction": { - "phetioDocumentation": "Executes whenever a press occurs. The first argument when executing can be used to convey info about the Event. The arguments are:
  1. event: EventIO
  2. \n
  3. targetNode: VoidIO
  4. \n
  5. callback: VoidIO
", + "phetioDocumentation": "Executes whenever a press occurs. The first argument when executing can be used to convey info about the Event. The arguments are:
  1. event: EventIO
", "phetioDynamicElement": false, "phetioEventType": "USER", "phetioFeatured": false, @@ -1223,10 +1223,10 @@ window.phet.phetio.phetioElementsBaseline = assert && "phetioReadOnly": false, "phetioState": false, "phetioStudioControl": true, - "phetioTypeName": "ActionIO." + "phetioTypeName": "ActionIO." }, "arithmetic.general.navigationBar.phetButton.phetMenu.screenshotMenuItem.inputListener.releaseAction": { - "phetioDocumentation": "Executes whenever a release occurs. The arguments are:
  1. event: NullableIO.
  2. \n
  3. callback: VoidIO
", + "phetioDocumentation": "Executes whenever a release occurs. The arguments are:
  1. event: NullableIO.
", "phetioDynamicElement": false, "phetioEventType": "USER", "phetioFeatured": false, @@ -1235,7 +1235,7 @@ window.phet.phetio.phetioElementsBaseline = assert && "phetioReadOnly": false, "phetioState": false, "phetioStudioControl": true, - "phetioTypeName": "ActionIO., VoidIO>" + "phetioTypeName": "ActionIO.>" }, "arithmetic.general.navigationBar.phetButton.phetMenu.screenshotMenuItem.opacityProperty": { "phetioDocumentation": "Opacity of the parent NodeIO, between 0 (invisible) and 1 (fully visible)", @@ -1286,7 +1286,7 @@ window.phet.phetio.phetioElementsBaseline = assert && "phetioTypeName": "PropertyIO.>" }, "arithmetic.general.navigationBar.phetButton.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:
  1. event: EventIO
  2. \n
  3. targetNode: VoidIO
  4. \n
  5. callback: VoidIO
", + "phetioDocumentation": "Executes whenever a press occurs. The first argument when executing can be used to convey info about the Event. The arguments are:
  1. event: EventIO
", "phetioDynamicElement": false, "phetioEventType": "USER", "phetioFeatured": false, @@ -1295,10 +1295,10 @@ window.phet.phetio.phetioElementsBaseline = assert && "phetioReadOnly": false, "phetioState": false, "phetioStudioControl": true, - "phetioTypeName": "ActionIO." + "phetioTypeName": "ActionIO." }, "arithmetic.general.navigationBar.phetButton.pressListener.releaseAction": { - "phetioDocumentation": "Executes whenever a release occurs. The arguments are:
  1. event: NullableIO.
  2. \n
  3. callback: VoidIO
", + "phetioDocumentation": "Executes whenever a release occurs. The arguments are:
  1. event: NullableIO.
", "phetioDynamicElement": false, "phetioEventType": "USER", "phetioFeatured": false, @@ -1307,7 +1307,7 @@ window.phet.phetio.phetioElementsBaseline = assert && "phetioReadOnly": false, "phetioState": false, "phetioStudioControl": true, - "phetioTypeName": "ActionIO., VoidIO>" + "phetioTypeName": "ActionIO.>" }, "arithmetic.general.navigationBar.titleTextNode": { "phetioDocumentation": "Displays the title of the simulation in the navigation bar (bottom left)", @@ -1490,7 +1490,7 @@ window.phet.phetio.phetioElementsBaseline = assert && "phetioTypeName": "EmitterIO.<>" }, "arithmetic.homeScreen.view.divideScreenLargeButton.inputListener.pressAction": { - "phetioDocumentation": "Executes whenever a press occurs. The first argument when executing can be used to convey info about the Event. The arguments are:
  1. event: EventIO
  2. \n
  3. targetNode: VoidIO
  4. \n
  5. callback: VoidIO
", + "phetioDocumentation": "Executes whenever a press occurs. The first argument when executing can be used to convey info about the Event. The arguments are:
  1. event: EventIO
", "phetioDynamicElement": false, "phetioEventType": "USER", "phetioFeatured": false, @@ -1499,10 +1499,10 @@ window.phet.phetio.phetioElementsBaseline = assert && "phetioReadOnly": false, "phetioState": false, "phetioStudioControl": true, - "phetioTypeName": "ActionIO." + "phetioTypeName": "ActionIO." }, "arithmetic.homeScreen.view.divideScreenLargeButton.inputListener.releaseAction": { - "phetioDocumentation": "Executes whenever a release occurs. The arguments are:
  1. event: NullableIO.
  2. \n
  3. callback: VoidIO
", + "phetioDocumentation": "Executes whenever a release occurs. The arguments are:
  1. event: NullableIO.
", "phetioDynamicElement": false, "phetioEventType": "USER", "phetioFeatured": false, @@ -1511,7 +1511,7 @@ window.phet.phetio.phetioElementsBaseline = assert && "phetioReadOnly": false, "phetioState": false, "phetioStudioControl": true, - "phetioTypeName": "ActionIO., VoidIO>" + "phetioTypeName": "ActionIO.>" }, "arithmetic.homeScreen.view.divideScreenLargeButton.opacityProperty": { "phetioDocumentation": "Opacity of the parent NodeIO, between 0 (invisible) and 1 (fully visible)", @@ -1634,7 +1634,7 @@ window.phet.phetio.phetioElementsBaseline = assert && "phetioTypeName": "EmitterIO.<>" }, "arithmetic.homeScreen.view.divideScreenSmallButton.inputListener.pressAction": { - "phetioDocumentation": "Executes whenever a press occurs. The first argument when executing can be used to convey info about the Event. The arguments are:
  1. event: EventIO
  2. \n
  3. targetNode: VoidIO
  4. \n
  5. callback: VoidIO
", + "phetioDocumentation": "Executes whenever a press occurs. The first argument when executing can be used to convey info about the Event. The arguments are:
  1. event: EventIO
", "phetioDynamicElement": false, "phetioEventType": "USER", "phetioFeatured": false, @@ -1643,10 +1643,10 @@ window.phet.phetio.phetioElementsBaseline = assert && "phetioReadOnly": false, "phetioState": false, "phetioStudioControl": true, - "phetioTypeName": "ActionIO." + "phetioTypeName": "ActionIO." }, "arithmetic.homeScreen.view.divideScreenSmallButton.inputListener.releaseAction": { - "phetioDocumentation": "Executes whenever a release occurs. The arguments are:
  1. event: NullableIO.
  2. \n
  3. callback: VoidIO
", + "phetioDocumentation": "Executes whenever a release occurs. The arguments are:
  1. event: NullableIO.
", "phetioDynamicElement": false, "phetioEventType": "USER", "phetioFeatured": false, @@ -1655,7 +1655,7 @@ window.phet.phetio.phetioElementsBaseline = assert && "phetioReadOnly": false, "phetioState": false, "phetioStudioControl": true, - "phetioTypeName": "ActionIO., VoidIO>" + "phetioTypeName": "ActionIO.>" }, "arithmetic.homeScreen.view.divideScreenSmallButton.opacityProperty": { "phetioDocumentation": "Opacity of the parent NodeIO, between 0 (invisible) and 1 (fully visible)", @@ -1778,7 +1778,7 @@ window.phet.phetio.phetioElementsBaseline = assert && "phetioTypeName": "EmitterIO.<>" }, "arithmetic.homeScreen.view.factorScreenLargeButton.inputListener.pressAction": { - "phetioDocumentation": "Executes whenever a press occurs. The first argument when executing can be used to convey info about the Event. The arguments are:
  1. event: EventIO
  2. \n
  3. targetNode: VoidIO
  4. \n
  5. callback: VoidIO
", + "phetioDocumentation": "Executes whenever a press occurs. The first argument when executing can be used to convey info about the Event. The arguments are:
  1. event: EventIO
", "phetioDynamicElement": false, "phetioEventType": "USER", "phetioFeatured": false, @@ -1787,10 +1787,10 @@ window.phet.phetio.phetioElementsBaseline = assert && "phetioReadOnly": false, "phetioState": false, "phetioStudioControl": true, - "phetioTypeName": "ActionIO." + "phetioTypeName": "ActionIO." }, "arithmetic.homeScreen.view.factorScreenLargeButton.inputListener.releaseAction": { - "phetioDocumentation": "Executes whenever a release occurs. The arguments are:
  1. event: NullableIO.
  2. \n
  3. callback: VoidIO
", + "phetioDocumentation": "Executes whenever a release occurs. The arguments are:
  1. event: NullableIO.
", "phetioDynamicElement": false, "phetioEventType": "USER", "phetioFeatured": false, @@ -1799,7 +1799,7 @@ window.phet.phetio.phetioElementsBaseline = assert && "phetioReadOnly": false, "phetioState": false, "phetioStudioControl": true, - "phetioTypeName": "ActionIO., VoidIO>" + "phetioTypeName": "ActionIO.>" }, "arithmetic.homeScreen.view.factorScreenLargeButton.opacityProperty": { "phetioDocumentation": "Opacity of the parent NodeIO, between 0 (invisible) and 1 (fully visible)", @@ -1922,7 +1922,7 @@ window.phet.phetio.phetioElementsBaseline = assert && "phetioTypeName": "EmitterIO.<>" }, "arithmetic.homeScreen.view.factorScreenSmallButton.inputListener.pressAction": { - "phetioDocumentation": "Executes whenever a press occurs. The first argument when executing can be used to convey info about the Event. The arguments are:
  1. event: EventIO
  2. \n
  3. targetNode: VoidIO
  4. \n
  5. callback: VoidIO
", + "phetioDocumentation": "Executes whenever a press occurs. The first argument when executing can be used to convey info about the Event. The arguments are:
  1. event: EventIO
", "phetioDynamicElement": false, "phetioEventType": "USER", "phetioFeatured": false, @@ -1931,10 +1931,10 @@ window.phet.phetio.phetioElementsBaseline = assert && "phetioReadOnly": false, "phetioState": false, "phetioStudioControl": true, - "phetioTypeName": "ActionIO." + "phetioTypeName": "ActionIO." }, "arithmetic.homeScreen.view.factorScreenSmallButton.inputListener.releaseAction": { - "phetioDocumentation": "Executes whenever a release occurs. The arguments are:
  1. event: NullableIO.
  2. \n
  3. callback: VoidIO
", + "phetioDocumentation": "Executes whenever a release occurs. The arguments are:
  1. event: NullableIO.
", "phetioDynamicElement": false, "phetioEventType": "USER", "phetioFeatured": false, @@ -1943,7 +1943,7 @@ window.phet.phetio.phetioElementsBaseline = assert && "phetioReadOnly": false, "phetioState": false, "phetioStudioControl": true, - "phetioTypeName": "ActionIO., VoidIO>" + "phetioTypeName": "ActionIO.>" }, "arithmetic.homeScreen.view.factorScreenSmallButton.opacityProperty": { "phetioDocumentation": "Opacity of the parent NodeIO, between 0 (invisible) and 1 (fully visible)", @@ -2066,7 +2066,7 @@ window.phet.phetio.phetioElementsBaseline = assert && "phetioTypeName": "EmitterIO.<>" }, "arithmetic.homeScreen.view.multiplyScreenLargeButton.inputListener.pressAction": { - "phetioDocumentation": "Executes whenever a press occurs. The first argument when executing can be used to convey info about the Event. The arguments are:
  1. event: EventIO
  2. \n
  3. targetNode: VoidIO
  4. \n
  5. callback: VoidIO
", + "phetioDocumentation": "Executes whenever a press occurs. The first argument when executing can be used to convey info about the Event. The arguments are:
  1. event: EventIO
", "phetioDynamicElement": false, "phetioEventType": "USER", "phetioFeatured": false, @@ -2075,10 +2075,10 @@ window.phet.phetio.phetioElementsBaseline = assert && "phetioReadOnly": false, "phetioState": false, "phetioStudioControl": true, - "phetioTypeName": "ActionIO." + "phetioTypeName": "ActionIO." }, "arithmetic.homeScreen.view.multiplyScreenLargeButton.inputListener.releaseAction": { - "phetioDocumentation": "Executes whenever a release occurs. The arguments are:
  1. event: NullableIO.
  2. \n
  3. callback: VoidIO
", + "phetioDocumentation": "Executes whenever a release occurs. The arguments are:
  1. event: NullableIO.
", "phetioDynamicElement": false, "phetioEventType": "USER", "phetioFeatured": false, @@ -2087,7 +2087,7 @@ window.phet.phetio.phetioElementsBaseline = assert && "phetioReadOnly": false, "phetioState": false, "phetioStudioControl": true, - "phetioTypeName": "ActionIO., VoidIO>" + "phetioTypeName": "ActionIO.>" }, "arithmetic.homeScreen.view.multiplyScreenLargeButton.opacityProperty": { "phetioDocumentation": "Opacity of the parent NodeIO, between 0 (invisible) and 1 (fully visible)", @@ -2210,7 +2210,7 @@ window.phet.phetio.phetioElementsBaseline = assert && "phetioTypeName": "EmitterIO.<>" }, "arithmetic.homeScreen.view.multiplyScreenSmallButton.inputListener.pressAction": { - "phetioDocumentation": "Executes whenever a press occurs. The first argument when executing can be used to convey info about the Event. The arguments are:
  1. event: EventIO
  2. \n
  3. targetNode: VoidIO
  4. \n
  5. callback: VoidIO
", + "phetioDocumentation": "Executes whenever a press occurs. The first argument when executing can be used to convey info about the Event. The arguments are:
  1. event: EventIO
", "phetioDynamicElement": false, "phetioEventType": "USER", "phetioFeatured": false, @@ -2219,10 +2219,10 @@ window.phet.phetio.phetioElementsBaseline = assert && "phetioReadOnly": false, "phetioState": false, "phetioStudioControl": true, - "phetioTypeName": "ActionIO." + "phetioTypeName": "ActionIO." }, "arithmetic.homeScreen.view.multiplyScreenSmallButton.inputListener.releaseAction": { - "phetioDocumentation": "Executes whenever a release occurs. The arguments are:
  1. event: NullableIO.
  2. \n
  3. callback: VoidIO
", + "phetioDocumentation": "Executes whenever a release occurs. The arguments are:
  1. event: NullableIO.
", "phetioDynamicElement": false, "phetioEventType": "USER", "phetioFeatured": false, @@ -2231,7 +2231,7 @@ window.phet.phetio.phetioElementsBaseline = assert && "phetioReadOnly": false, "phetioState": false, "phetioStudioControl": true, - "phetioTypeName": "ActionIO., VoidIO>" + "phetioTypeName": "ActionIO.>" }, "arithmetic.homeScreen.view.multiplyScreenSmallButton.opacityProperty": { "phetioDocumentation": "Opacity of the parent NodeIO, between 0 (invisible) and 1 (fully visible)", diff --git a/js/phet-io/arithmetic-phet-io-types.js b/js/phet-io/arithmetic-phet-io-types.js index 1f9e48ce..58bcaa1e 100644 --- a/js/phet-io/arithmetic-phet-io-types.js +++ b/js/phet-io/arithmetic-phet-io-types.js @@ -41,7 +41,7 @@ window.phet.phetio.phetioTypes = assert && "supertype": "ObjectIO", "typeName": "ActionIO." }, - "ActionIO.": { + "ActionIO.": { "documentation": "Executes when an event occurs.", "events": [ "emitted" @@ -52,22 +52,18 @@ window.phet.phetio.phetioTypes = assert && "documentation": "Executes the function the Action is wrapping.", "invocableForReadOnlyElements": false, "parameterTypes": [ - "EventIO", - "VoidIO", - "VoidIO" + "EventIO" ], "returnType": "VoidIO" } }, "parameterTypes": [ - "EventIO", - "VoidIO", - "VoidIO" + "EventIO" ], "supertype": "ObjectIO", - "typeName": "ActionIO." + "typeName": "ActionIO." }, - "ActionIO., VoidIO>": { + "ActionIO.>": { "documentation": "Executes when an event occurs.", "events": [ "emitted" @@ -78,18 +74,16 @@ window.phet.phetio.phetioTypes = assert && "documentation": "Executes the function the Action is wrapping.", "invocableForReadOnlyElements": false, "parameterTypes": [ - "NullableIO.", - "VoidIO" + "NullableIO." ], "returnType": "VoidIO" } }, "parameterTypes": [ - "NullableIO.", - "VoidIO" + "NullableIO." ], "supertype": "ObjectIO", - "typeName": "ActionIO., VoidIO>" + "typeName": "ActionIO.>" }, "ActionIO.": { "documentation": "Executes when an event occurs.",