main
Last change
on this file since 0c6b92a was 0c6b92a, checked in by stefan toskovski <stefantoska84@…>, 5 weeks ago |
Pred finalna verzija
|
-
Property mode
set to
100644
|
File size:
328 bytes
|
Rev | Line | |
---|
[0c6b92a] | 1 | const triggerNavigate = (nodes,idx,changeFloorTo,shape) => {
|
---|
| 2 | const event = new CustomEvent("navigate",{
|
---|
| 3 | detail: {
|
---|
| 4 | nodes: nodes,
|
---|
| 5 | offset: idx,
|
---|
| 6 | changeFloorTo: changeFloorTo,
|
---|
| 7 | shape:shape
|
---|
| 8 | }
|
---|
| 9 | })
|
---|
| 10 |
|
---|
| 11 | window.dispatchEvent(event);
|
---|
| 12 | }
|
---|
| 13 |
|
---|
| 14 | export default triggerNavigate; |
---|
Note:
See
TracBrowser
for help on using the repository browser.