Spanish Total.js
Español
Documentación Para agentes de IA
Contenido

Component files

Upload and edit the files of a component, and see the component in the editor.

.md Sitio web

Esta página aún no está traducida. Estás leyendo el original.

En esta página

A component folder holds the files of one component, such as editor.html, render.html and settings.html. See The component folder for what each file does and Your first component for an example.

Create a file

  1. On the UI components screen, open the database and the component.
  2. Select Create and then Create editor.html, Create render.html or Create settings.html.

The file appears with starter code for that kind of file, with the name of the component filled in. Open it to write your component.

Upload a file

  1. On the UI components screen, open the database and the component.
  2. Select Create and then Upload file.
  3. Choose the file on your computer.

Edit a file

  1. Select the file. The Edit: window opens with the code of the file.
  2. Change the code.
  3. Select SUBMIT.

Editing editor.html of the component greeting

Make the component appear in the editor

UI Studio builds the list of components of a database again a few seconds after you create, upload, edit, clone, rename or remove a file or a component.

Then open a design that uses the database. The component appears in the component list of the editor, in the group set in its editor.html.

Each file also has Copy link in its menu, which copies its address under /ui/.

Hecho en Europa