Notable Pottery Manufacturer

npm

Need private packages and team management tools?Check out npm Orgs. »

tripetto-block-dropdown

2.0.0 • Public • Published

Tripetto

Tripetto is a full-fledged form kit. Rapidly create and deploy smart flowing forms and surveys. Drop the kit in your codebase and use all of it, or just the parts you need. The visual editor is for form creation, the collector for response collection and the SDK for developing more form building blocks.

Dropdown block

Status Version License Downloads Spectrum

Simple dropdown block for the Tripetto editor. Use it to control a standard HTML select element. Besides the block for the editor, this package includes a base class with the validation/condition logic of this block for use in the collector.

Try the demo View the code

Get started

You need to install or import this block to use it in Tripetto. If you are using the CLI version of the editor, you can find instructions here. If you are embedding the editor 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-dropdown"></script> to your HTML);
  • In the CLI editor (install the block using npm i tripetto-block-dropdown -g and update your Tripetto config);
  • In your editor implementation (just add import "tripetto-block-dropdown"; to your code);
  • In your collector implementation (simply add import { Dropdown } from "tripetto-block-dropdown/collector"; to your code to import the base class with the validation/condition logic of this block for use in the collector). By default the ES5 version is used. Append /es5 or /es6 to your import to request a specific version (for example import { Checkbox } from "tripetto-block-dropdown/collector/es6"; for the ES6 version).

Support

Run into issues or bugs? Report them here and we'll look into them.

For general support contact us at support@tripetto.com. 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.

install

npm i tripetto-block-dropdown

Downloadsweekly downloads

57

version

2.0.0

license

MIT

homepage

gitlab.com

repository

Gitgitlab

last publish

collaborators

  • avatar
  • avatar
  • avatar
Report a vulnerability