Skip to content
Discussion options

You must be logged in to vote

How about adding a call-function plugin to the end of the timeline:

var end_timeline_check = {
	type: 'call-function',
	func: function(){
		if(time_elapsed > time_allowed){
			jsPsych.endCurrentTimeline();
		}
	}
}

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@jodeleeuw
Comment options

@sankalp35
Comment options

Comment options

You must be logged in to vote
2 replies
@jodeleeuw
Comment options

@sankalp35
Comment options

Answer selected by jodeleeuw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants