Svelte - WorkAdventure Documentation
Svelte - WorkAdventure Documentation
Api Reference
Controls Svelte
Event
Metadata To use these functions, you need to import the "Scripting API Extra" library.
Navigation
If you happen to use the Svelte framework, the Scripting API Extra package provide some utility functions to easily bind your Svelte
Player components to your WorkAdventure map.
Players
Room
Mapping a WorkAdventure variable to a Svelte store
Sound
Use createStoreFromVariable to create a Svelte store that is bound to a WorkAdventure variable.
Start
State
const myVariableStore = createStoreFromVariable('my_variable');
UI
Scripting Internals
Edit this page
Using Typescript