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

Merge pull request #392 from apitiot/master

added a getter for finished in TrialHandler
This commit is contained in:
Alain Pitiot 2021-06-11 15:17:40 +02:00 committed by GitHub
commit 5d4101b84d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -305,6 +305,17 @@ export class TrialHandler extends PsychObject
}
/**
* Getter for the finished attribute.
*
* @returns {boolean} whether or not the trial has finished.
*/
get finished()
{
return this._finished;
}
/**
* Setter for the finished attribute.
*