mirror of
https://github.com/psychopy/psychojs.git
synced 2025-05-12 16:48:10 +00:00
Merge pull request #392 from apitiot/master
added a getter for finished in TrialHandler
This commit is contained in:
commit
5d4101b84d
@ -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.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user