mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-26 03:58:45 +02:00
N°3524 Add keyboard shortcuts to global actions
This commit is contained in:
19
sources/application/UI/Hook/iKeyboardShortcut.php
Normal file
19
sources/application/UI/Hook/iKeyboardShortcut.php
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user