[API] Add Time Conductor example

This commit is contained in:
Victor Woeltjen 2016-09-07 11:24:01 -07:00
parent b111eeff07
commit 92118d353e

13
API.md
View File

@ -142,6 +142,19 @@ openmct.composition(myObject).load().then(function (childObjects) {
});
```
### Synchronizing with the Time Conductor
Views which wish to remain synchronized with the state of Open MCT's
time conductor should utilize
[`openmct.conductor`]{@link module:openmct.TimeConductor}:
```
openmct.conductor.on('bounds', function (newBounds) {
requestTelemetry(newBounds.start, newBounds.end).then(displayTelemetry);
});
```
## Plugins
While you can register new features with Open MCT directly, it is generally