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

20 lines
438 B
JavaScript

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