vue-psych
TypeScript icon, indicating that this package has built-in type declarations

0.1.14 • Public • Published

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>

Readme

Keywords

none

Package Sidebar

Install

npm i vue-psych

Weekly Downloads

210

Version

0.1.14

License

MIT

Unpacked Size

88.5 kB

Total Files

75

Last publish

Collaborators

  • chennings