mirror of
https://github.com/Doodle3D/Doodle3D-API
synced 2024-12-22 13:53:48 +01:00
replace tabs with space
This commit is contained in:
parent
2186fe2428
commit
1f8bc2906e
@ -2,7 +2,7 @@
|
||||
Doodle3D API for communication with the Doodle3D WiFi-Box
|
||||
|
||||
```javascript
|
||||
import {Doodle3DManager} from 'Doodle3D/Doodle3D-API';
|
||||
import { Doodle3DManager } from 'Doodle3D/Doodle3D-API';
|
||||
|
||||
const doodle3DManager = new Doodle3DManager();
|
||||
|
||||
@ -14,12 +14,12 @@ doodle3DManager.addEventListener('boxappeared', ({box}) => {
|
||||
});
|
||||
|
||||
box.addEventListener('update', (event) => {
|
||||
let status = event.state;
|
||||
const status = event.state;
|
||||
});
|
||||
|
||||
box.setAutoUpdate(true);
|
||||
box.setAutoUpdate(true, 1000);
|
||||
});
|
||||
|
||||
doodle3DManager.setAutoUpdate(true);
|
||||
doodle3DManager.setAutoUpdate(true, 1000);
|
||||
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user