blockly > IKeyboardAccessible > onShortcut

طريقة IKeyboardAccessible.onShortcut()

لمعالجة اختصار لوحة المفاتيح المحدد.

Signature:

onShortcut(shortcut: KeyboardShortcut): boolean;

المَعلمات

المَعلمة Type الوصف
اختصار KeyboardShortcut الاختصار المطلوب معالجته.

المرتجعات:

boolean

صحيح إذا تمت معالجة الاختصار، أو false في الحالات الأخرى.