Ver Fonte

docs: add event stackblitz demo

alvarosabu há 2 anos atrás
pai
commit
047dc19cd2
1 ficheiros alterados com 4 adições e 0 exclusões
  1. 4 0
      docs/api/events.md

+ 4 - 0
docs/api/events.md

@@ -2,6 +2,10 @@
 
 **TresJS** Mesh objects emit pointer events when they are interacted with using `raycaster` and `pointer` objects under the hood.
 
+<StackBlitzEmbed project-id="tresjs-events" />
+
+## Pointer Events
+
 ```html
 <TresMesh
   @click="(ev) => console.log('click', ev)"