Drag with can-move
Drag two shared stickers inside a bounded area and keep their positions across reloads.
- can-move
- dragging
- bounds
Browse complete PlayHTML recipes and smaller live demos from across the docs. Recipes open on their own page and can be remixed in the playground. Docs demos jump to the guide that explains them. The Sites collection shows finished work made with PlayHTML and opens each project on its original URL.
To test a collaborative example, open it in two browser windows. Use a regular and private window, or use two different browsers. Then follow the steps on the example page.
19 results
Sites are curated on Are.na
Loading sites from Are.na…
Drag two shared stickers inside a bounded area and keep their positions across reloads.
Share one persistent on or off switch with every connected browser.
Show an ephemeral hover effect to everyone while any connected reader is hovering.
Filter a textarea to emoji while can-mirror shares its current value.
Append direct list children and let can-mirror share the resulting DOM.
Increment one persistent count with a merge-safe can-play data update.
Add short notes to a persistent shared list capped at the latest 20 entries.
Play, pause, and restart one audio file for everyone using a shared timeline.
Send a one-shot cue to everyone currently connected, or share a loop that late joiners can join.
Drag, drop, add, and reset a small set of physics bodies shared across browsers.
Grow or shrink a balloon and share its current scale.
Drag a wheel to rotate it for everyone on the page.
Create shared copies from one template and reset the collection.
Draw a tiny face and add it to a shared strip capped at 20 doodles.
Run one seeded animation so every reader lands on the same result.
Test shared forms, contenteditable fields, hover, focus, and nested elements.
Trigger a temporary rain effect for everyone currently connected.
Broadcast short-lived emoji reactions without storing shared state.
Show one live colored dot for each reader currently on the page.