« Components » : différence entre les versions
De Wiki Let's Role
ajout des lien vers les tuto |
ajout du lien pour le tuto sur les bouton |
||
| Ligne 49 : | Ligne 49 : | ||
# [[Use tabs]] | # [[Use tabs]] | ||
# [[Use repeaters]] | # [[Use repeaters]] | ||
# [[Button|Create buttons]] | |||
# [[Show or hide components]] | # [[Show or hide components]] | ||
# [https://lets-role.com/help/fr/documentation/v1/component/avatar Configure the avatar properly] | # [https://lets-role.com/help/fr/documentation/v1/component/avatar Configure the avatar properly] | ||
Version du 31 août 2025 à 20:30
Components
This section describes the different available components.
Component List
Each component has:
- id: a unique identifier
- name: the name of the component, useful for navigating the hierarchy
- class: Bootstrap classes used to format the document
Root
- The root contains properties related to the window’s width and height
- 3 Checkboxes
- is a craft
- Can be used on the map
- Can be drag&dropped onto another sheet
- ID of the avatar component
Layout
- Row: designed to contain multiple columns and organize them automatically
- Column: child of a row. It has the size property (1–12) that defines its relative width
- Container: can contain and organize its child components, either horizontally or vertically, depending on the layout property
Form
Form containers are used to create character sheets with editable fields.
- Label: displays text
- NumberInput: numeric-only input field
- TextInput: editable field for entering text
- Textarea: multi-line text area (non-editable)
- Checkbox: a checkable box
- Choice: a dropdown list to select an element from several options
Container
Containers allow grouping multiple views.
- Repeater: dynamically adds views. Perfect for managing inventories or skill lists
- Tab: manages multiple tabs to better organize a character sheet
Special
- Icon: displays an icon
- Avatar: inserts an image into the character sheet
- Color: allows selecting a color