More documentation

This commit is contained in:
Nathan Kunicki 2018-06-21 18:32:42 +01:00
parent c56a614028
commit e950b14e16
3 changed files with 3 additions and 3 deletions

View File

@ -173,7 +173,7 @@ Emits when a color sensor is activated.
### "tilt" (port, x, y) ### "tilt" (port, x, y)
Emits when a tilt sensor is activated. Emits when a tilt sensor is activated.
**Note**: If the event if fired from the Move Hub's inbuild tilt sensor, the special port "TILT" is used. **Note**: If the event is fired from the Move Hub's in-built tilt sensor, the special port "TILT" is used.
**Kind**: event emitted by [<code>BoostHub</code>](#BoostHub) **Kind**: event emitted by [<code>BoostHub</code>](#BoostHub)

View File

@ -213,7 +213,7 @@ Emits when a color sensor is activated.
### "tilt" (port, x, y) ### "tilt" (port, x, y)
Emits when a tilt sensor is activated. Emits when a tilt sensor is activated.
**Note**: If the event if fired from the Move Hub's inbuild tilt sensor, the special port "TILT" is used. **Note**: If the event is fired from the Move Hub's in-built tilt sensor, the special port "TILT" is used.
**Kind**: event emitted by [<code>BoostHub</code>](#BoostHub) **Kind**: event emitted by [<code>BoostHub</code>](#BoostHub)

View File

@ -322,7 +322,7 @@ export class BoostHub extends Hub {
/** /**
* Emits when a tilt sensor is activated. * Emits when a tilt sensor is activated.
* *
* **Note**: If the event if fired from the Move Hub's inbuild tilt sensor, the special port "TILT" is used. * **Note**: If the event is fired from the Move Hub's in-built tilt sensor, the special port "TILT" is used.
* @event BoostHub#tilt * @event BoostHub#tilt
* @param {string} port * @param {string} port
* @param {number} x * @param {number} x