Input Port API: Difference between revisions

fix typo
(→‎Examples: fix indent)
(fix typo)
 
Line 79: Line 79:
This method makes a request to retrieve all the available input ports on a device. It returns a new Promise that will be used to notify the caller about the result of the operation, which is an array of InputPort elements belong to the InputPortManager.
This method makes a request to retrieve all the available input ports on a device. It returns a new Promise that will be used to notify the caller about the result of the operation, which is an array of InputPort elements belong to the InputPortManager.


'''Bold text'''== Examples ==
== Examples ==


   var inputPortMgr = navigator.inputPortManager;
   var inputPortMgr = navigator.inputPortManager;
17

edits