Skip to content

Commit

Permalink
[docs] Describe the teleport event.
Browse files Browse the repository at this point in the history
  • Loading branch information
donmccurdy authored Nov 2, 2017
1 parent 826c7be commit 82a2548
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,9 @@ Then register and use.
```js
require('aframe-teleport-controls');
```

### Events

| Event | Properties of `event.detail` | Description |
|------------|------------------------------------------|----------------------------------|
| `teleport` | `oldPosition`, `newPosition`, `hitPoint` | Fires when teleportation begins. |

0 comments on commit 82a2548

Please sign in to comment.