jellyfin-web/dashboard-ui/bower_components/emby-webcomponents/voice/commands/enablecommands.js
2016-10-18 01:06:48 -04:00

20 lines
435 B
JavaScript

define(['inputManager'], function (inputManager) {
'use strict';
function enableDisplayMirror() {
return function () {
inputManager.trigger('enabledisplaymirror');
};
}
return function (result) {
switch (result.item.deviceid) {
case 'displaymirroring':
return enableDisplayMirror();
default:
return;
}
};
});