00-introduction.md 1.26 KB
Newer Older
1
---
2
source: sections/_guide_blocks/00-introduction.md
3 4 5 6
title: Blocks
---

### Taking hardcore charge
Mark van den Brink's avatar
Mark van den Brink committed
7
Perhaps one of the best things about Tripetto is that you decide which form *building blocks* (e.g. question types) you want to use in the editor and collector. We offer a default set to choose from, but you can also develop your own building blocks.
8 9 10

**In one single package a block typically both:**

Mark van den Brink's avatar
Mark van den Brink committed
11 12
- Holds the properties of a particular building block (e.g. [dropdown](https://www.npmjs.com/package/tripetto-block-dropdown){:target="_blank"}, [checkbox](https://www.npmjs.com/package/tripetto-block-checkbox){:target="_blank"}, etc.);
- **And** facilitates the management of those properties through the editor.
13 14 15 16 17 18

For building blocks we recommend using [TypeScript](https://www.typescriptlang.org/){:target="_blank"}. We supply typings to enable optimal [IntelliSense](https://code.visualstudio.com/docs/editor/intellisense){:target="_blank"} support.
{: .info }

This step-by-step guide for building blocks assumes a good understanding of [TypeScript](https://www.typescriptlang.org/){:target="_blank"}, [object-oriented programming](https://www.typescriptlang.org/docs/handbook/classes.html){:target="_blank"} and [webpack](https://webpack.js.org/){:target="_blank"}.
{: .warning }