@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.
Import the components with the CDN version
<script type="module">
import 'https://unpkg.com/@citolab/qti-components/cdn';
</script>
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';
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.
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
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!