mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
use shared voice components
This commit is contained in:
parent
aece94029c
commit
07da989bfd
28 changed files with 413 additions and 185 deletions
14
dashboard-ui/bower_components/emby-webcomponents/voice/commands/togglecommands.js
vendored
Normal file
14
dashboard-ui/bower_components/emby-webcomponents/voice/commands/togglecommands.js
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
define(['inputManager'], function (inputManager) {
|
||||
|
||||
return function (result) {
|
||||
result.success = true;
|
||||
switch (result.item.deviceid) {
|
||||
case 'displaymirroring':
|
||||
inputManager.trigger('toggledisplaymirror');
|
||||
break;
|
||||
default:
|
||||
result.success = false;
|
||||
return;
|
||||
}
|
||||
}
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue