Installation
🏷️ System requirements
Softwares / Frameworks
Version
💠 Question Set Editor library for Sunbird platform
📑 Getting started with integration steps
Use as web components 🌏
<script type="text/javascript" src="sunbird-questionset-editor.js"></script><div id="inQuiryEditor"> </div>const questionsetEditorElement = document.createElement('lib-questionset-editor');questionsetEditorElement.setAttribute('editor-config', JSON.stringify(questionsetEditorConfig));questionsetEditorElement.addEventListener('editorEmitter', (event) => { console.log("On editorEvent", event); });const inQuiryEditor = document.getElementById("inQuiryEditor"); inQuiryEditor.appendChild(questionsetEditorElement);
Use as web component in the Angular app
Use as Angular library in Angular app
🏷️ Step 1: Install the packages
🏷️ Step 2: create and copy required assests
🏷️ Step 3: Include the styles, scripts and assets in angular.json
🏷️ Step 4: Change in package.json
🏷️ Step 5: Add question-cursor-implementation.service
🏷️ Step 5: Import the modules and components
🏷️ Step 6: Send input to render QuestionSet Editor
🟠 Available components
Feature
Notes
Selector
Code
Input
Output
🔻 Input Parameters
🔻 Output Events
🏷️Step 7: Set the auth token and questionset identifier
🏷️ Step 8: Build the library
🏷️ Step 9: Run the application
📑 Questionset Editor Contribution Guide
Repo Setup
Starting up the Sample application
Set the auth token and questionset identifier
Last updated
Was this helpful?
