Skip to content

Citolab/qti-components

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@citolab/qti-components

Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public.

npm version License

@citolab/qti-components is a web component library that can be used to render 1EdTech QTI items. It's highly customizable and can be integrated in almost every web application.

Installation

CDN

Import the components with the CDN version

<script type="module">
  import 'https://unpkg.com/@citolab/qti-components/cdn';
</script>

NPM

Or use npm to install the package:

npm install @citolab/qti-components

To use @citolab/qti-components, you need to register the web components. By registering the web components, the browser knows how to display the item and create a fully functional test.

import '@citolab/qti-components';

Storybook

Explore the complete description of supported QTI tags, examples, and the ability to interactively play with changing attributes of the QTI items in our Storybook.

Contributing

Contributions are welcome! Please follow these guidelines when contributing:

  • Fork the repository and clone it to your local machine
  • Create a new branch for your feature or bug fix
  • Commit your changes with clear and concise messages
  • Push your changes to your forked repository
  • Open a pull request to the original repository

License

This project is licensed under the GPLv3 License.

Please note that the licensing is GPLv3 if you want to use it in another way, feel free to ask!