vue-psych

Psychological experiment process encapsulation, referenced from jspsych.
562
Install
npm install vue-psych
Latest Version:0.1.14
Vue:3
License:MIT
Last Updated:Dec 15, 2023
Links: npm
Maintainer: chennings

Vue Psych

Psychological experiment process encapsulation, referenced from jspsych.

Installation

pnpm add vue-psych

Usage

usage example

<template>
  <div class="container">
    <PsychPane name="welcome">
      <div>Hello world!</div>
    </PsychPane>
  </div>
</template>
<script setup lang="ts">
import { useProviderPsych } from 'vue-psych'

const psych = useProviderPsych()
const helloTrial = {
  name: 'welcome'
}

onMounted(() => {
  psych.run([helloTrial])
})
</script>

Version History

Version Released Vue License
0.1.14 ^3.3.4 MIT
0.1.13 ^3.3.4 MIT
0.1.12 ^3.3.4 MIT
0.1.11 ^3.3.4 MIT
0.1.10 ^3.3.4 MIT