npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript.Learn more »

tripetto-block-text

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.

Text block

Status Version License Downloads Spectrum

Simple text block for the Tripetto editor. Use it to control a standard HTML text input 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-text"></script> to your HTML);
  • In the CLI editor (install the block using npm i tripetto-block-text -g and update your Tripetto config);
  • In your editor implementation (just add import "tripetto-block-text"; to your code);
  • In your collector implementation (simply add import { Text } from "tripetto-block-text/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-text/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-text

Downloadsweekly downloads

46

version

2.0.0

license

MIT

homepage

gitlab.com

repository

Gitgitlab

last publish

collaborators

  • avatar
  • avatar
  • avatar
Report a vulnerability