N°3524 Add keyboard shortcuts to global actions

This commit is contained in:
Stephen Abello
2021-03-17 10:56:18 +01:00
parent 8dd8f98b61
commit a8ede8b857
26 changed files with 345 additions and 33 deletions

View File

@@ -0,0 +1,19 @@
<?php
/**
* @since 3.0.0
*/
interface iKeyboardShortcut
{
/**
* Return default keys combination to trigger shortcut element
* @return array
*/
public static function GetShortcutKeys(): array;
/**
* Element to be triggered when shortcut key combination is pressed
* @return string
*/
public static function GetShortcutTriggeredElementSelector(): string;
}