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.
This block for Tripetto implements a device condition block that allows to branch on device type (desktop, tablet or phone).
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.
- Directly in your browser (add
<script src="https://unpkg.com/tripetto-block-device"></script>to your HTML);
- In the CLI builder (install the block using
npm i tripetto-block-device -gand update your Tripetto config);
- In your builder implementation (add
import "tripetto-block-device";to your code);
- In your runner implementation (add
import"tripetto-block-device/runner";to your code to import the validation/condition logic of this block for use in the runner).
Run into issues or bugs? Report them here and we'll look into them.
For general support contact us at email@example.com. We're more than happy to assist you.
Have a blast. MIT.
- Hisam A Fahri (Indonesian translation)
- Julian Frauenholz (German translation)
- Krzysztof Kamiński (Polish translation)
If you want to learn more about Tripetto or contribute in any way, visit us at Tripetto.com.