1
0
mirror of https://github.com/psychopy/psychojs.git synced 2025-05-10 10:40:54 +00:00

documentation for 2021.1.4

This commit is contained in:
Alain Pitiot 2021-04-09 13:59:44 +02:00
parent 328127979a
commit 1a8653aa39
78 changed files with 550 additions and 217 deletions

View File

@ -181,7 +181,7 @@
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -30,8 +30,8 @@
* Manager handling the keyboard and mouse/touch events.
*
* @author Alain Pitiot
* @version 2021.1.2
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020 Open Science Tools Ltd. (https://opensciencetools.org)
* @version 2021.1.4
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020-2021 Open Science Tools Ltd. (https://opensciencetools.org)
* @license Distributed under the terms of the MIT License
*/
@ -705,7 +705,7 @@ export class BuilderKeyResponse
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -31,8 +31,8 @@
*
* @author Alain Pitiot
* @author Sijia Zhao - fine-grained resource loading
* @version 2021.1.2
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020 Open Science Tools Ltd. (https://opensciencetools.org)
* @version 2021.1.4
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020-2021 Open Science Tools Ltd. (https://opensciencetools.org)
* @license Distributed under the terms of the MIT License
*/
@ -160,7 +160,6 @@ export class GUI
// add a combobox or text areas for each entry in the dictionary:
htmlCode += '&lt;form>';
// These may include Symbols as opposed to when using a for...in loop,
// but only strings are allowed in PsychoPy
@ -222,7 +221,6 @@ export class GUI
}
}
);
htmlCode += '&lt;/form>';
// add a progress bar:
@ -307,6 +305,9 @@ export class GUI
// switch to full screen if requested:
self._psychoJS.window.adjustScreenSize();
// Clear events (and keypresses) accumulated during the dialog
self._psychoJS.eventManager.clearEvents();
}
}
],
@ -913,7 +914,7 @@ GUI.dialogMargin = [50, 50];
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -30,8 +30,8 @@
* Manager handling the keyboard events.
*
* @author Alain Pitiot
* @version 2021.1.2
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020 Open Science Tools Ltd. (https://opensciencetools.org)
* @version 2021.1.4
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020-2021 Open Science Tools Ltd. (https://opensciencetools.org)
* @license Distributed under the terms of the MIT License
*/
@ -449,7 +449,6 @@ export class Keyboard extends PsychObject
self._psychoJS.logger.trace('keydown: ', event.key);
event.stopPropagation();
event.preventDefault();
});
@ -533,7 +532,7 @@ Keyboard.KeyStatus = {
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -30,8 +30,8 @@
* Logger
*
* @author Alain Pitiot
* @version 2021.1.2
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020 Open Science Tools Ltd. (https://opensciencetools.org)
* @version 2021.1.4
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020-2021 Open Science Tools Ltd. (https://opensciencetools.org)
* @license Distributed under the terms of the MIT License
*/
@ -480,7 +480,7 @@ Logger._ServerLevelValue = {
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -30,8 +30,8 @@
* Base class for all stimuli.
*
* @author Alain Pitiot
* @version 2021.1.2
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020 Open Science Tools Ltd. (https://opensciencetools.org)
* @version 2021.1.4
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020-2021 Open Science Tools Ltd. (https://opensciencetools.org)
* @license Distributed under the terms of the MIT License
*/
@ -266,7 +266,7 @@ export class MinimalStim extends PsychObject
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -31,8 +31,8 @@
*
* @author Alain Pitiot
* @author Sotiri Bakagiannis - isPressedIn
* @version 2021.1.2
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020 Open Science Tools Ltd. (https://opensciencetools.org)
* @version 2021.1.4
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020-2021 Open Science Tools Ltd. (https://opensciencetools.org)
* @license Distributed under the terms of the MIT License
*/
@ -403,7 +403,7 @@ export class Mouse extends PsychObject
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -31,8 +31,8 @@
* Main component of the PsychoJS library.
*
* @author Alain Pitiot
* @version 2021.1.2
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020 Open Science Tools Ltd. (https://opensciencetools.org)
* @version 2021.1.4
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020-2021 Open Science Tools Ltd. (https://opensciencetools.org)
* @license Distributed under the terms of the MIT License
*/
@ -197,7 +197,7 @@ export class PsychoJS
}
this.logger.info('[PsychoJS] Initialised.');
this.logger.info('[PsychoJS] @version 2021.1.2');
this.logger.info('[PsychoJS] @version 2021.1.4');
// Hide #root::after
$('#root').addClass('is-ready');
@ -786,7 +786,7 @@ PsychoJS.Status = {
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -30,8 +30,8 @@
* Manager responsible for the communication between the experiment running in the participant's browser and the remote PsychoJS manager running on the remote https://pavlovia.org server.
*
* @author Alain Pitiot
* @version 2021.1.2
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020 Open Science Tools Ltd. (https://opensciencetools.org)
* @version 2021.1.4
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020-2021 Open Science Tools Ltd. (https://opensciencetools.org)
* @license Distributed under the terms of the MIT License
*/
@ -913,7 +913,7 @@ ServerManager.Status = {
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -30,8 +30,8 @@
* Window responsible for displaying the experiment stimuli
*
* @author Alain Pitiot
* @version 2021.1.2
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020 Open Science Tools Ltd. (https://opensciencetools.org)
* @version 2021.1.4
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020-2021 Open Science Tools Ltd. (https://opensciencetools.org)
* @license Distributed under the terms of the MIT License
*/
@ -557,7 +557,7 @@ export class Window extends PsychObject
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -30,8 +30,8 @@
* Mixin implementing various unit-handling measurement methods.
*
* @author Alain Pitiot
* @version 2021.1.2
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020 Open Science Tools Ltd. (https://opensciencetools.org)
* @version 2021.1.4
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020-2021 Open Science Tools Ltd. (https://opensciencetools.org)
* @license Distributed under the terms of the MIT License
*/
@ -235,7 +235,7 @@ export let WindowMixin = (superclass) => class extends superclass
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -30,8 +30,8 @@
* Experiment Handler
*
* @author Alain Pitiot
* @version 2021.1.2
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020 Open Science Tools Ltd. (https://opensciencetools.org)
* @version 2021.1.4
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020-2021 Open Science Tools Ltd. (https://opensciencetools.org)
* @license Distributed under the terms of the MIT License
*/
@ -493,7 +493,7 @@ ExperimentHandler.Environment = {
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -32,8 +32,8 @@
*
* @author Alain Pitiot
* @author Hiroyuki Sogo &amp; Sotiri Bakagiannis - better support for BOM and accented characters
* @version 2021.1.2
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020 Open Science Tools Ltd. (https://opensciencetools.org)
* @version 2021.1.4
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020-2021 Open Science Tools Ltd. (https://opensciencetools.org)
* @license Distributed under the terms of the MIT License
*/
@ -733,7 +733,7 @@ TrialHandler.Method = {
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -17,31 +17,6 @@
<div id="main">
<h1 class="page-title">Home</h1>
<h3> </h3>
<section>
<article><h1>PsychoJS</h1>
<p>PsychoJS is a JavaScript library that makes it possible to run neuroscience, psychology, and psychophysics experiments in a browser. It is the online counterpart of the <a href="http://www.psychopy.org/">PsychoPy</a> Python library.
@ -119,7 +94,7 @@ It is now a collaborative effort, supported by the <a href="https://chanzuckerbe
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -260,7 +260,7 @@
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -1727,7 +1727,7 @@
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -247,7 +247,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="core_GUI.js.html">core/GUI.js</a>, <a href="core_GUI.js.html#line863">line 863</a>
<a href="core_GUI.js.html">core/GUI.js</a>, <a href="core_GUI.js.html#line864">line 864</a>
</li></ul></dd>
@ -319,7 +319,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="core_GUI.js.html">core/GUI.js</a>, <a href="core_GUI.js.html#line852">line 852</a>
<a href="core_GUI.js.html">core/GUI.js</a>, <a href="core_GUI.js.html#line853">line 853</a>
</li></ul></dd>
@ -661,7 +661,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="core_GUI.js.html">core/GUI.js</a>, <a href="core_GUI.js.html#line334">line 334</a>
<a href="core_GUI.js.html">core/GUI.js</a>, <a href="core_GUI.js.html#line335">line 335</a>
</li></ul></dd>
@ -1017,7 +1017,7 @@ the dictionary remains unchanged.</p>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -256,7 +256,7 @@
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -467,7 +467,7 @@ before recording keyboard events</td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="core_Keyboard.js.html">core/Keyboard.js</a>, <a href="core_Keyboard.js.html#line480">line 480</a>
<a href="core_Keyboard.js.html">core/Keyboard.js</a>, <a href="core_Keyboard.js.html#line479">line 479</a>
</li></ul></dd>
@ -1377,7 +1377,7 @@ waitRelease = false, key presses without a corresponding key release will have a
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -801,7 +801,7 @@ See https://github.com/nodeca/pako for details.</p>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -1089,7 +1089,7 @@
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -1739,7 +1739,7 @@ call to <a href="module-core.Mouse.html#getPos">getPos</a></li>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -2877,7 +2877,7 @@ that he or she needs to wait for a bit.</p>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -2058,7 +2058,7 @@
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -2045,7 +2045,7 @@ Window.
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -823,7 +823,7 @@
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -120,7 +120,7 @@
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -1387,7 +1387,7 @@ will be associated with the next trial.
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -2727,7 +2727,7 @@ for (const thisTrial of handler) { console.log(thisTrial); }</code></pre>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -417,7 +417,7 @@
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -736,7 +736,7 @@ track.play(2);</code></pre>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="sound_Sound.js.html">sound/Sound.js</a>, <a href="sound_Sound.js.html#line200">line 200</a>
<a href="sound_Sound.js.html">sound/Sound.js</a>, <a href="sound_Sound.js.html#line230">line 230</a>
</li></ul></dd>
@ -1288,7 +1288,7 @@ Repeat calls to play may results in the sounds being played on top of each other
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="sound_Sound.js.html">sound/Sound.js</a>, <a href="sound_Sound.js.html#line164">line 164</a>
<a href="sound_Sound.js.html">sound/Sound.js</a>, <a href="sound_Sound.js.html#line194">line 194</a>
</li></ul></dd>
@ -1484,7 +1484,199 @@ Repeat calls to play may results in the sounds being played on top of each other
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="sound_Sound.js.html">sound/Sound.js</a>, <a href="sound_Sound.js.html#line182">line 182</a>
<a href="sound_Sound.js.html">sound/Sound.js</a>, <a href="sound_Sound.js.html#line212">line 212</a>
</li></ul></dd>
</dl>
<h4 class="name" id="setSound"><span class="type-signature"></span>setSound<span class="signature">(sound, log<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h4>
<div class="description">
Set the sound value on demand past initialisation.
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Attributes</th>
<th>Default</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>sound</code></td>
<td class="type">
<span class="param-type">object</span>
</td>
<td class="attributes">
</td>
<td class="default">
</td>
<td class="description last">a sound instance to replace the current one</td>
</tr>
<tr>
<td class="name"><code>log</code></td>
<td class="type">
<span class="param-type">boolean</span>
</td>
<td class="attributes">
&lt;optional><br>
</td>
<td class="default">
true
</td>
<td class="description last">whether or not to log</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="sound_Sound.js.html">sound/Sound.js</a>, <a href="sound_Sound.js.html#line164">line 164</a>
</li></ul></dd>
@ -1973,7 +2165,7 @@ Repeat calls to play may results in the sounds being played on top of each other
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -1039,7 +1039,7 @@
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -1519,7 +1519,7 @@ we throw an exception.</p>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -782,7 +782,7 @@
<h4 class="name" id="play"><span class="type-signature"></span>play<span class="signature">(loops)</span><span class="type-signature"></span></h4>
<h4 class="name" id="play"><span class="type-signature"></span>play<span class="signature">(loops, fadeDuration<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h4>
@ -814,9 +814,13 @@
<th>Type</th>
<th>Attributes</th>
<th>Default</th>
<th class="last">Description</th>
</tr>
</thead>
@ -839,13 +843,64 @@
</td>
<td class="attributes">
</td>
<td class="default">
</td>
<td class="description last">how many times to repeat the track after it has played once. If loops == -1, the track will repeat indefinitely until stopped.</td>
</tr>
<tr>
<td class="name"><code>fadeDuration</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="attributes">
&lt;optional><br>
</td>
<td class="default">
17
</td>
<td class="description last">how long should the fading in last in ms</td>
</tr>
</tbody>
</table>
@ -1385,7 +1440,7 @@
<h4 class="name" id="stop"><span class="type-signature"></span>stop<span class="signature">()</span><span class="type-signature"></span></h4>
<h4 class="name" id="stop"><span class="type-signature"></span>stop<span class="signature">(fadeDuration<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h4>
@ -1404,6 +1459,75 @@
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Attributes</th>
<th>Default</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>fadeDuration</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="attributes">
&lt;optional><br>
</td>
<td class="default">
17
</td>
<td class="description last">how long should the fading out last in ms</td>
</tr>
</tbody>
</table>
@ -1437,7 +1561,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="sound_TrackPlayer.js.html">sound/TrackPlayer.js</a>, <a href="sound_TrackPlayer.js.html#line205">line 205</a>
<a href="sound_TrackPlayer.js.html">sound/TrackPlayer.js</a>, <a href="sound_TrackPlayer.js.html#line211">line 211</a>
</li></ul></dd>
@ -1489,7 +1613,7 @@
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -96,7 +96,7 @@
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -486,7 +486,7 @@ smaller). As a consequence, getTime() may return a negative number.</p>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -1957,7 +1957,7 @@ static methods for converting colors from one space to another.</p>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -678,7 +678,7 @@
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -658,7 +658,7 @@ to newTime</td>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -1000,7 +1000,7 @@ observable.emit("change", { a: 1 });</code></pre>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -221,7 +221,7 @@ class NewClass extends mix(BaseClass).with(Mixin1, Mixin2) { ... }</code></pre>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -746,7 +746,7 @@
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -1022,7 +1022,7 @@ was not previously set)
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -951,7 +951,7 @@ task would be by calling <a href="module-util.Scheduler.html#add">scheduler.add(
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -5203,7 +5203,7 @@ missing the naught prefix, and is able to process several arrays, e.g. "[1,2][3,
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -1267,7 +1267,7 @@ depends on the Form units: 14 for 'pix', 0.03 otherwise</td>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="visual_Form.js.html">visual/Form.js</a>, <a href="visual_Form.js.html#line609">line 609</a>
<a href="visual_Form.js.html">visual/Form.js</a>, <a href="visual_Form.js.html#line615">line 615</a>
</li></ul></dd>
@ -2198,7 +2198,7 @@ This is typically called in the constructor of a stimulus, when attributes are a
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -1077,7 +1077,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="visual_ImageStim.js.html">visual/ImageStim.js</a>, <a href="visual_ImageStim.js.html#line159">line 159</a>
<a href="visual_ImageStim.js.html">visual/ImageStim.js</a>, <a href="visual_ImageStim.js.html#line165">line 165</a>
</li></ul></dd>
@ -1157,7 +1157,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="visual_ImageStim.js.html">visual/ImageStim.js</a>, <a href="visual_ImageStim.js.html#line211">line 211</a>
<a href="visual_ImageStim.js.html">visual/ImageStim.js</a>, <a href="visual_ImageStim.js.html#line217">line 217</a>
</li></ul></dd>
@ -1245,7 +1245,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="visual_MovieStim.js.html">visual/MovieStim.js</a>, <a href="visual_MovieStim.js.html#line312">line 312</a>
<a href="visual_MovieStim.js.html">visual/MovieStim.js</a>, <a href="visual_MovieStim.js.html#line306">line 306</a>
</li></ul></dd>
@ -1297,7 +1297,7 @@
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -1054,7 +1054,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="visual_MovieStim.js.html">visual/MovieStim.js</a>, <a href="visual_MovieStim.js.html#line141">line 141</a>
<a href="visual_MovieStim.js.html">visual/MovieStim.js</a>, <a href="visual_MovieStim.js.html#line135">line 135</a>
</li></ul></dd>
@ -1094,7 +1094,7 @@
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -1027,7 +1027,7 @@
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -1033,7 +1033,7 @@
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -929,7 +929,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="visual_ShapeStim.js.html">visual/ShapeStim.js</a>, <a href="visual_ShapeStim.js.html#line360">line 360</a>
<a href="visual_ShapeStim.js.html">visual/ShapeStim.js</a>, <a href="visual_ShapeStim.js.html#line354">line 354</a>
</li></ul></dd>
@ -991,7 +991,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="visual_ShapeStim.js.html">visual/ShapeStim.js</a>, <a href="visual_ShapeStim.js.html#line321">line 321</a>
<a href="visual_ShapeStim.js.html">visual/ShapeStim.js</a>, <a href="visual_ShapeStim.js.html#line315">line 315</a>
</li></ul></dd>
@ -1055,7 +1055,7 @@ This is overridden in order to provide a finer inclusion test.
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="visual_ShapeStim.js.html">visual/ShapeStim.js</a>, <a href="visual_ShapeStim.js.html#line158">line 158</a>
<a href="visual_ShapeStim.js.html">visual/ShapeStim.js</a>, <a href="visual_ShapeStim.js.html#line152">line 152</a>
</li></ul></dd>
@ -1117,7 +1117,7 @@ This is overridden in order to provide a finer inclusion test.
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="visual_ShapeStim.js.html">visual/ShapeStim.js</a>, <a href="visual_ShapeStim.js.html#line114">line 114</a>
<a href="visual_ShapeStim.js.html">visual/ShapeStim.js</a>, <a href="visual_ShapeStim.js.html#line108">line 108</a>
</li></ul></dd>
@ -1197,7 +1197,7 @@ This is overridden in order to provide a finer inclusion test.
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="visual_ShapeStim.js.html">visual/ShapeStim.js</a>, <a href="visual_ShapeStim.js.html#line193">line 193</a>
<a href="visual_ShapeStim.js.html">visual/ShapeStim.js</a>, <a href="visual_ShapeStim.js.html#line187">line 187</a>
</li></ul></dd>
@ -1249,7 +1249,7 @@ This is overridden in order to provide a finer inclusion test.
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -1906,7 +1906,7 @@ but does not change the actual rating returned by the slider.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="visual_Slider.js.html">visual/Slider.js</a>, <a href="visual_Slider.js.html#line1304">line 1304</a>
<a href="visual_Slider.js.html">visual/Slider.js</a>, <a href="visual_Slider.js.html#line1305">line 1305</a>
</li></ul></dd>
@ -1978,7 +1978,7 @@ but does not change the actual rating returned by the slider.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="visual_Slider.js.html">visual/Slider.js</a>, <a href="visual_Slider.js.html#line1338">line 1338</a>
<a href="visual_Slider.js.html">visual/Slider.js</a>, <a href="visual_Slider.js.html#line1339">line 1339</a>
</li></ul></dd>
@ -2050,7 +2050,7 @@ but does not change the actual rating returned by the slider.</p>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="visual_Slider.js.html">visual/Slider.js</a>, <a href="visual_Slider.js.html#line1320">line 1320</a>
<a href="visual_Slider.js.html">visual/Slider.js</a>, <a href="visual_Slider.js.html#line1321">line 1321</a>
</li></ul></dd>
@ -2726,7 +2726,7 @@ This is typically called in the constructor of a stimulus, when attributes are a
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -1622,7 +1622,7 @@
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -1390,7 +1390,7 @@ unlike getSize().
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -1414,7 +1414,7 @@ This is typically called in the constructor of a stimulus, when attributes are a
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -110,7 +110,7 @@
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -31,8 +31,8 @@
* Sound stimulus.
*
* @author Alain Pitiot
* @version 2021.1.2
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020 Open Science Tools Ltd. (https://opensciencetools.org)
* @version 2021.1.4
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020-2021 Open Science Tools Ltd. (https://opensciencetools.org)
* @license Distributed under the terms of the MIT License
*/
@ -182,6 +182,36 @@ export class Sound extends PsychObject
}
/**
* Set the sound value on demand past initialisation.
*
* @public
* @param {object} sound - a sound instance to replace the current one
* @param {boolean} [log= true] - whether or not to log
*/
setSound(sound, log = true)
{
if (sound instanceof Sound)
{
this._setAttribute('value', sound.value, log);
if (typeof this._player !== 'undefined')
{
this._player = this._player.constructor.accept(this);
}
// Be fluent?
return this;
}
throw {
origin: 'Sound.setSound',
context: 'when replacing the current sound',
error: 'invalid input, need an instance of the Sound class.'
};
}
/**
* Set the number of loops.
*
@ -266,7 +296,7 @@ export class Sound extends PsychObject
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -30,8 +30,8 @@
* Sound player interface
*
* @author Alain Pitiot
* @version 2021.1.2
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020 Open Science Tools Ltd. (https://opensciencetools.org)
* @version 2021.1.4
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020-2021 Open Science Tools Ltd. (https://opensciencetools.org)
* @license Distributed under the terms of the MIT License
*/
@ -203,7 +203,7 @@ export class SoundPlayer extends PsychObject
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -30,8 +30,8 @@
* Tone Player.
*
* @author Alain Pitiot
* @version 2021.1.2
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020 Open Science Tools Ltd. (https://opensciencetools.org)
* @version 2021.1.4
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020-2021 Open Science Tools Ltd. (https://opensciencetools.org)
* @license Distributed under the terms of the MIT License
*/
@ -428,7 +428,7 @@ TonePlayer.SoundLibrary = {
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -30,8 +30,8 @@
* Track Player.
*
* @author Alain Pitiot
* @version 2021.1.2
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020 Open Science Tools Ltd. (https://opensciencetools.org)
* @version 2021.1.4
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020-2021 Open Science Tools Ltd. (https://opensciencetools.org)
* @license Distributed under the terms of the MIT License
*/
@ -198,8 +198,9 @@ export class TrackPlayer extends SoundPlayer
* @function
* @public
* @param {number} loops - how many times to repeat the track after it has played once. If loops == -1, the track will repeat indefinitely until stopped.
* @param {number} [fadeDuration = 17] - how long should the fading in last in ms
*/
play(loops)
play(loops, fadeDuration = 17)
{
if (typeof loops !== 'undefined')
{
@ -221,12 +222,17 @@ export class TrackPlayer extends SoundPlayer
{
self._howl.seek(self._startTime);
self._howl.play();
self._howl.seek(self._startTime);
self._id = self._howl.play();
self._howl.fade(0, self._volume, fadeDuration, self._id);
}
});
}
this._howl.seek(this._startTime);
this._howl.play();
this._id = this._howl.play();
this._howl.fade(0, this._volume, fadeDuration, this._id);
}
@ -236,11 +242,15 @@ export class TrackPlayer extends SoundPlayer
* @name module:sound.TrackPlayer#stop
* @function
* @public
* @param {number} [fadeDuration = 17] - how long should the fading out last in ms
*/
stop()
stop(fadeDuration = 17)
{
this._howl.stop();
this._howl.once('fade', (id) => {
this._howl.stop(id);
this._howl.off('end');
});
this._howl.fade(this._howl.volume(), 0, fadeDuration, this._id);
}
}
@ -260,7 +270,7 @@ export class TrackPlayer extends SoundPlayer
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -30,8 +30,8 @@
* Clock component.
*
* @author Alain Pitiot
* @version 2021.1.2
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020 Open Science Tools Ltd. (https://opensciencetools.org)
* @version 2021.1.4
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020-2021 Open Science Tools Ltd. (https://opensciencetools.org)
* @license Distributed under the terms of the MIT License
*/
@ -266,7 +266,7 @@ export class CountdownTimer extends Clock
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -30,8 +30,8 @@
* Color management.
*
* @author Alain Pitiot
* @version 2021.1.2
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020 Open Science Tools Ltd. (https://opensciencetools.org)
* @version 2021.1.4
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020-2021 Open Science Tools Ltd. (https://opensciencetools.org)
* @license Distributed under the terms of the MIT License
*/
@ -759,7 +759,7 @@ Color.NAMED_COLORS = {
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -30,8 +30,8 @@
* Color Mixin.
*
* @author Alain Pitiot
* @version 2021.1.2
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020 Open Science Tools Ltd. (https://opensciencetools.org)
* @version 2021.1.4
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020-2021 Open Science Tools Ltd. (https://opensciencetools.org)
* @license Distributed under the terms of the MIT License
*/
@ -121,7 +121,7 @@ export let ColorMixin = (superclass) => class extends superclass
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -30,8 +30,8 @@
* Event Emitter.
*
* @author Alain Pitiot
* @version 2021.1.2
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020 Open Science Tools Ltd. (https://opensciencetools.org)
* @version 2021.1.4
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020-2021 Open Science Tools Ltd. (https://opensciencetools.org)
* @license Distributed under the terms of the MIT License
*/
@ -199,7 +199,7 @@ export class EventEmitter
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -31,8 +31,8 @@
* Core Object.
*
* @author Alain Pitiot
* @version 2021.1.2
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020 Open Science Tools Ltd. (https://opensciencetools.org)
* @version 2021.1.4
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020-2021 Open Science Tools Ltd. (https://opensciencetools.org)
* @license Distributed under the terms of the MIT License
*/
@ -451,7 +451,7 @@ export class PsychObject extends EventEmitter
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -30,8 +30,8 @@
* Scheduler.
*
* @author Alain Pitiot
* @version 2021.1.2
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020 Open Science Tools Ltd. (https://opensciencetools.org)
* @version 2021.1.4
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020-2021 Open Science Tools Ltd. (https://opensciencetools.org)
* @license Distributed under the terms of the MIT License
*/
@ -362,7 +362,7 @@ Scheduler.Status = {
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -30,8 +30,8 @@
* Various utilities.
*
* @author Alain Pitiot
* @version 2021.1.2
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020 Open Science Tools Ltd. (https://opensciencetools.org)
* @version 2021.1.4
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020-2021 Open Science Tools Ltd. (https://opensciencetools.org)
* @license Distributed under the terms of the MIT License
*/
@ -1138,7 +1138,7 @@ export function sum(inputMaybe = [])
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -30,8 +30,8 @@
* Form Stimulus.
*
* @author Alain Pitiot
* @version 2021.1.2
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020 Open Science Tools Ltd. (https://opensciencetools.org)
* @version 2021.1.4
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020-2021 Open Science Tools Ltd. (https://opensciencetools.org)
* @license Distributed under the terms of the MIT License
*/
@ -583,6 +583,12 @@ export class Form extends util.mix(VisualStim).with(ColorMixin)
throw `${item.type} is not a valid type for item: ${item.itemText}`;
}
// Support the 'radio' type found on older versions of PsychoPy
if (item.type === 'RADIO')
{
item.type = 'CHOICE';
}
// convert item type to symbol:
item.type = Symbol.for(item.type);
@ -1117,7 +1123,8 @@ Form.Types = {
RATING: Symbol.for('RATING'),
SLIDER: Symbol.for('SLIDER'),
FREE_TEXT: Symbol.for('FREE_TEXT'),
CHOICE: Symbol.for('CHOICE')
CHOICE: Symbol.for('CHOICE'),
RADIO: Symbol.for('CHOICE')
};
@ -1175,7 +1182,7 @@ Form._defaultItems = {
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -30,8 +30,8 @@
* Image Stimulus.
*
* @author Alain Pitiot
* @version 2021.1.2
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020 Open Science Tools Ltd. (https://opensciencetools.org)
* @version 2021.1.4
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020-2021 Open Science Tools Ltd. (https://opensciencetools.org)
* @license Distributed under the terms of the MIT License
*/
@ -172,10 +172,16 @@ export class ImageStim extends util.mix(VisualStim).with(ColorMixin)
this.psychoJS.logger.debug('set the image of ImageStim: ' + this._name + ' as: src= ' + image.src + ', size= ' + image.width + 'x' + image.height);
}
const existingImage = this.getImage();
const hasChanged = existingImage ? existingImage.src !== image.src : true;
this._setAttribute('image', image, log);
if (hasChanged)
{
this._onChange(true, true)();
}
}
catch (error)
{
throw Object.assign(response, {error});
@ -395,7 +401,7 @@ export class ImageStim extends util.mix(VisualStim).with(ColorMixin)
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -30,8 +30,8 @@
* Movie Stimulus.
*
* @author Alain Pitiot
* @version 2021.1.2
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020 Open Science Tools Ltd. (https://opensciencetools.org)
* @version 2021.1.4
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020-2021 Open Science Tools Ltd. (https://opensciencetools.org)
* @license Distributed under the terms of the MIT License
*/
@ -137,12 +137,6 @@ export class MovieStim extends VisualStim
1.0,
this._onChange(true, false)
);
this._addAttribute(
'opacity',
opacity,
1.0,
this._onChange(false, false)
);
this._addAttribute(
'loop',
loop,
@ -487,7 +481,7 @@ export class MovieStim extends VisualStim
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -30,8 +30,8 @@
* Polygonal Stimulus.
*
* @author Alain Pitiot
* @version 2021.1.2
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020 Open Science Tools Ltd. (https://opensciencetools.org)
* @version 2021.1.4
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020-2021 Open Science Tools Ltd. (https://opensciencetools.org)
* @license Distributed under the terms of the MIT License
*/
@ -187,7 +187,7 @@ export class Polygon extends ShapeStim
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -30,8 +30,8 @@
* Rectangular Stimulus.
*
* @author Alain Pitiot
* @version 2021.1.2
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020 Open Science Tools Ltd. (https://opensciencetools.org)
* @version 2021.1.4
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020-2021 Open Science Tools Ltd. (https://opensciencetools.org)
* @license Distributed under the terms of the MIT License
*/
@ -192,7 +192,7 @@ export class Rect extends ShapeStim
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -31,8 +31,8 @@
* Basic Shape Stimulus.
*
* @author Alain Pitiot
* @version 2021.1.2
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020 Open Science Tools Ltd. (https://opensciencetools.org)
* @version 2021.1.4
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020-2021 Open Science Tools Ltd. (https://opensciencetools.org)
* @license Distributed under the terms of the MIT License
*/
@ -129,12 +129,6 @@ export class ShapeStim extends util.mix(VisualStim).with(ColorMixin, WindowMixin
1.0,
this._onChange(true, false)
);
this._addAttribute(
'opacity',
opacity,
1.0,
this._onChange(false, false)
);
}
@ -435,7 +429,7 @@ ShapeStim.KnownShapes = {
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -30,8 +30,8 @@
* Slider Stimulus.
*
* @author Alain Pitiot
* @version 2021.1.2
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020 Open Science Tools Ltd. (https://opensciencetools.org)
* @version 2021.1.4
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020-2021 Open Science Tools Ltd. (https://opensciencetools.org)
* @license Distributed under the terms of the MIT License
*/
@ -617,6 +617,7 @@ export class Slider extends util.mix(VisualStim).with(ColorMixin, WindowMixin)
}
this._needUpdate = false;
this._estimateBoundingBox();
this._setupSlider();
this._updateMarker();
@ -1404,7 +1405,7 @@ Slider.Skin = {
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -30,8 +30,8 @@
* Editable TextBox Stimulus.
*
* @author Alain Pitiot
* @version 2021.1.2
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020 Open Science Tools Ltd. (https://opensciencetools.org)
* @version 2021.1.4
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020-2021 Open Science Tools Ltd. (https://opensciencetools.org)
* @license Distributed under the terms of the MIT License
*/
@ -563,7 +563,7 @@ TextBox._defaultSizeMap = new Map([
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -895,7 +895,7 @@ function DefaultBoxGenerator(styles)
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -30,8 +30,8 @@
* Text Stimulus.
*
* @author Alain Pitiot
* @version 2021.1.2
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020 Open Science Tools Ltd. (https://opensciencetools.org)
* @version 2021.1.4
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020-2021 Open Science Tools Ltd. (https://opensciencetools.org)
* @license Distributed under the terms of the MIT License
*/
@ -465,7 +465,7 @@ TextStim._defaultWrapWidthMap = new Map([
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>

View File

@ -30,8 +30,8 @@
* Base class for all visual stimuli.
*
* @author Alain Pitiot
* @version 2021.1.2
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020 Open Science Tools Ltd. (https://opensciencetools.org)
* @version 2021.1.4
* @copyright (c) 2017-2020 Ilixa Ltd. (http://ilixa.com) (c) 2020-2021 Open Science Tools Ltd. (https://opensciencetools.org)
* @license Distributed under the terms of the MIT License
*/
@ -92,7 +92,7 @@ export class VisualStim extends util.mix(MinimalStim).with(WindowMixin)
'opacity',
opacity,
1.0,
this._onChange(false, false)
this._onChange(true, false)
);
this._addAttribute(
'depth',
@ -347,7 +347,7 @@ export class VisualStim extends util.mix(MinimalStim).with(WindowMixin)
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Thu Mar 11 2021 10:57:11 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Apr 09 2021 13:58:25 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>