mirror of
https://github.com/psychopy/psychojs.git
synced 2025-05-12 08:38:10 +00:00
added a getter for finished in TrialHandler
This commit is contained in:
parent
cad60bb964
commit
598fa080ee
@ -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.
|
* Setter for the finished attribute.
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user