src/components/avatar-recorder.js
function (evt) {
    var key = evt.keyCode;
    var KEYS = {space: 32};
    switch (key) {
      // <space>: Toggle recording.
      case KEYS.space: {
        this.toggleRecording();
        break;
      }
    }
  }
function (evt) {
    var key = evt.keyCode;
    var KEYS = {space: 32};
    switch (key) {
      // <space>: Toggle recording.
      case KEYS.space: {
        this.toggleRecording();
        break;
      }
    }
  }
function ( evt ) { var key = evt . keyCode ; var KEYS = { space : 32 } ; switch ( key ) { // <space>: Toggle recording. case KEYS . space : { this . toggleRecording ( ) ; break ; } } }
Keyboard shortcuts.
Keyboard shortcuts .