mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-19 11:58:20 -07:00
20 lines
439 B
JavaScript
20 lines
439 B
JavaScript
define(['inputManager'], function (inputManager) {
|
|
|
|
function enableDisplayMirror() {
|
|
return function () {
|
|
inputManager.trigger('enabledisplaymirror');
|
|
};
|
|
}
|
|
|
|
return function (result) {
|
|
|
|
switch (result.item.deviceid) {
|
|
case 'displaymirroring':
|
|
return enableDisplayMirror();
|
|
break;
|
|
default:
|
|
return;
|
|
}
|
|
}
|
|
|
|
}); |