en:yaml:drag-drop
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| en:yaml:drag-drop [2026/05/07 03:31] – Correction rendu syntaxe JDR-Bot dans DokuWiki cyrilfiesta | en:yaml:drag-drop [2026/07/06 00:35] (Version actuelle) – maj 4.13 : modes d'interface + corrections cyrilfiesta | ||
|---|---|---|---|
| Ligne 5: | Ligne 5: | ||
| Drag & drop lets the player take an element from the text and drop it onto a target. It is available on web, desktop and interactive HTML exports. Other adapters display the content without drag& | Drag & drop lets the player take an element from the text and drop it onto a target. It is available on web, desktop and interactive HTML exports. Other adapters display the content without drag& | ||
| - | ===== Sources | + | ===== Sources |
| <code yaml> | <code yaml> | ||
| Ligne 11: | Ligne 11: | ||
| </ | </ | ||
| - | * %%{{label:> | + | * %%{{label:> |
| - | * %%{{label: | + | * %%{{label: |
| - | * %%{{label:> | + | * %%{{label:> |
| - | * %%{{label:> | + | * %%{{label:> |
| The syntax also works with pictures: | The syntax also works with pictures: | ||
| Ligne 22: | Ligne 22: | ||
| </ | </ | ||
| - | ===== Drop Event ===== | + | ===== Drop event ===== |
| An event becomes a drag& | An event becomes a drag& | ||
| Ligne 29: | Ligne 29: | ||
| text: "The {{door: | text: "The {{door: | ||
| interaction-ko: | interaction-ko: | ||
| - | |||
| events: | events: | ||
| - id: key_on_door | - id: key_on_door | ||
| Ligne 52: | Ligne 51: | ||
| * '' | * '' | ||
| * '' | * '' | ||
| - | * '' | + | * '' |
| + | * '' | ||
| - | ===== Showing | + | ===== Showing |
| By default, sources and targets use a neutral style. To show roles visually, enable '' | By default, sources and targets use a neutral style. To show roles visually, enable '' | ||
| Ligne 69: | Ligne 69: | ||
| When a value is defined in a room, it overrides the global option for that room. | When a value is defined in a room, it overrides the global option for that room. | ||
| - | **Join us on [[https:// | + | While dragging (or after a first tap on mobile), the interactive elements of the room are **highlighted** to show the possible targets. |
| + | |||
| + | **Join us on [[https:// | ||
en/yaml/drag-drop.1778117471.txt.gz · Dernière modification : de cyrilfiesta
