UNPKG

@jspsych/new-extension

Version:

CLI tool to create new jsPsych extensions

52 lines (35 loc) 861 B
# {packageName} {description} ## Parameters ### Initialization Parameters Initialization parameters can be set when calling `initJsPsych()` ```js initJsPsych({ extensions: [ {type: {globalName}, params: {...}} ] }) ``` Parameter | Type | Default Value | Description ----------|------|---------------|------------ | | | ### Trial Parameters Trial parameters can be set when adding the extension to a trial object. ```js var trial = { type: jsPsych..., extensions: [ {type: {globalName}, params: {...}} ] } ``` Parameter | Type | Default Value | Description ----------|------|---------------|------------ | | | ## Data Generated Name | Type | Value -----|------|------ | | ## Functions If the extension adds any static functions, list them here. ### function()