Spanish Total.js
Italiano
Documentazione Per agenti IA
Indice

Add your own component

Add a component of your own to the library that the Default template uses, and use it in a design.

.md Sito web

Questa pagina non è ancora tradotta. Stai leggendo l’originale.

In questa pagina

Designs made from the Default template use the database components. A component that you add there appears in the editor of those designs.

1. Write the component

Write the file editor.html of the component on your computer, as described in Your first component. For example, a component greeting in the group Content.

2. Add it to the library

  1. Open UI components and select the database components.
  2. Select Create > Create component, enter greeting and press Enter.
  3. Select the new folder greeting, then Create > Upload file, and choose your editor.html.
  4. Wait a few seconds. UI Studio builds the list of components of the database again.

3. Use it

Open a design made from the Default template in UI Builder. Greeting appears in the Content group of the component list. Drag it onto the canvas like any other component.

To keep your components apart from the standard ones, you can create a database of your own on the UI components screen. See Component libraries.

Fatto in Europa