multiple-choice-service-block
v2.0.5
Published
Multiple choice block for Tripetto.
Downloads
3
Readme
Tripetto is a full-fledged form kit. Rapidly build and run smart flowing forms and surveys. Drop the kit in your codebase and use all of it or just the parts you need. The visual builder is for form building, and the runners are for running those forms in different UI variants. It is entirely extendible and customizable. Anyone can build their own building blocks (e.g., question types) or runner UI's.
Multiple choice block
Multiple choice block for Tripetto.
Get started
You need to install or import this block to use it in Tripetto. If you are using the CLI version of the builder, you can find instructions here. If you are embedding the builder into your own project using the library, take a look here.
Use cases
- Directly in your browser (add
<script src="https://unpkg.com/tripetto-block-multiple-choice"></script>
to your HTML); - In the CLI builder (install the block using
npm i tripetto-block-multiple-choice -g
and update your Tripetto config); - In your builder implementation (just add
import "tripetto-block-multiple-choice";
to your code); - In your runner implementation (simply add
import { MultipleChoice } from "tripetto-block-multiple-choice/runner";
to your code to import the base class with the validation/condition logic of this block for use in the runner). By default theES5
version is used. Append/es5
or/es6
to your import to request a specific version (for exampleimport { MultipleChoice } from "tripetto-block-multiple-choice/runner/es6";
for theES6
version).
Support
Run into issues or bugs? Report them here and we'll look into them.
For general support contact us at [email protected]. We're more than happy to assist you.
License
Have a blast. MIT.
About us
If you want to learn more about Tripetto or contribute in any way, visit us at Tripetto.com.