[API] Add gesture example

This commit is contained in:
Victor Woeltjen 2016-09-07 11:26:13 -07:00
parent 92118d353e
commit c074f29a07

9
API.md
View File

@ -154,6 +154,15 @@ openmct.conductor.on('bounds', function (newBounds) {
});
```
### Support Common Gestures
Custom views may also want to support common gestures using the
[gesture API]{@link module:openmct.GestureAPI}. For instance, to make
a view (or part of a view) selectable:
```
openmct.gestures.selectable(myHtmlElement, myDomainObject);
```
## Plugins