Composants d'interface
Keep your own page components in TAS, organised in component databases.
Cette page n’est pas encore traduite. Tu lis l’original.
UI components holds your own components for the page designer. They are organised in folders:
- a component database, for example
demo - in it, one folder per component, for example
clock - in each component folder, the files
editor.html,render.htmlandsettings.html

Create a component
1. Open UI components and select Create and then Create database. Enter a name in lower case, with the letters a to z only.
2. Open the new database and select Create and then Create component. Enter a name in lower case.
3. Open the component folder and select Create and then Create editor.html. TAS adds a working example component that you can change.
Use Create render.html and Create settings.html in the same way when your component needs them. Upload file adds other files.
Edit, rename and remove
Select a file to edit it. Right-click a folder or a file for Rename, Clone, Remove and the links to copy.
Back up and restore
In a component database, select Options:
- Download database downloads the whole component database as a
.zipfile. - Upload .zip database restores a downloaded
.zipfile.
The links
TAS publishes each component database at two addresses:
https://your-tas-server/ui/demo.json
https://your-tas-server/ui/demo.jsThe .json address lists the editor files of the components, and the .js address contains the rendered components. Copy link, Copy link for editor and Copy link for render copy these addresses.
The folder that holds the component databases is set in Settings under UI components.