9 Commits

Author SHA1 Message Date
Davide Tantillo
a46e76b1d7 Add animations, animations-bound and default-mix attributes. 2025-05-09 15:40:38 +02:00
Davide Tantillo
a636ef0964 Add followSlot method 2025-05-09 15:40:38 +02:00
Davide Tantillo
4d795da488 Add interactivity events. 2025-05-09 15:40:38 +02:00
Davide Tantillo
598fcc5cf4 WIP - Add interactivity events. isdraggable is currently broken. 2025-05-09 15:40:38 +02:00
Davide Tantillo
bdb9ea160e Fixed example. 2024-10-21 15:31:33 +02:00
Davide Tantillo
38f5231cd2 Docs and minor fixes. 2024-10-21 15:19:46 +02:00
Davide Tantillo
0fa960251a WIP - Added/Changed:
- overlay loading: now overlay is moved as the last element from where it is inserted to avoid widgets covered by backgrounds of html elements after it.
- default overlayId
- widget position in overlay coordinates (worldX, worldY) (experimental)
- cursor position on widget world (cursorWorldX, cursorWorldY) (experimental)
- jsonSkeletonKey: allow to load a specific skeleton in json containing multiple skeletons
- onViewportManualStart: start the widget when in manual-start and enters the viewport the first time
- overlayAssignedPromise: a promise that resolves when the overlay is assigned to the widget. Reads the comment on it
- appendTo: to append the widget created using js and wait for the overlayAssignedPromise to resolve
- changed how loadingPromise works
- added cursorCanvasX, cursorCanvasY, cursorWorldX, cursorWorldY to overlay (experimental)
2024-10-18 16:42:57 +02:00
Davide Tantillo
de7494036c Initial support of spine-widget into scrollable containers, and overlay-id for multiple spine-overlay.
working
2024-10-14 18:22:09 +02:00
Davide Tantillo
e9a07bd6b9 Changes to make the widget more dynamic while changing attributes. See now webcomponent-gui.html. 2024-10-08 17:26:31 +02:00