با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
یک کنترل کننده رویداد keydown را با یک کلید از پیش تعریف نشده در پانل ریشه تنظیم می کند. هنگامی که کاربر دستور کلید محدود را فشار می دهد، کنترل کننده تنها یک بار فعال می شود. همان کلید به آخرین کنترل کننده تنظیم شده روی آن متصل می شود.
تاریخ آخرین بهروزرسانی 2025-07-08 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","easyToUnderstand","thumb-up"],["مشکلم را برطرف کرد","solvedMyProblem","thumb-up"],["غیره","otherUp","thumb-up"]],[["اطلاعاتی که نیاز دارم وجود ندارد","missingTheInformationINeed","thumb-down"],["بیشازحد پیچیده/ مراحل بسیار زیاد","tooComplicatedTooManySteps","thumb-down"],["قدیمی","outOfDate","thumb-down"],["مشکل ترجمه","translationIssue","thumb-down"],["مشکل کد / نمونهها","samplesCodeIssue","thumb-down"],["غیره","otherDown","thumb-down"]],["تاریخ آخرین بهروزرسانی 2025-07-08 بهوقت ساعت هماهنگ جهانی."],[[["`setKeyHandler` enables assigning custom keyboard shortcuts to the root panel within a Google Workspace Add-on."],["It accepts a key code (or array for combinations), a handler function to execute, and an optional description for the UI."],["Only the most recently assigned handler for a specific key combination will be active, replacing any previous ones."],["These custom shortcuts can be accessed and viewed by users within the add-on's Shortcuts Menu when a description is provided."]]],["The `setKeyHandler` function binds a key command to a handler function on the root panel. It accepts a key code (or array of codes), a handler function, and an optional description. When the bound key is pressed, the handler is executed once. Only the most recently assigned handler for a specific key will be triggered. Key codes can be individual (e.g., `ui.Key.A`) or combined (e.g., `[ui.Key.SHIFT, ui.Key.A]`). The description is used in the Shortcuts Menu.\n"]]