[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-699668-105":59,"doc-detail-699668-en":130,"doc-similar-699668":161},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","keyboard-shortcuts-for-shinyversion-011","Keyboard Shortcuts for 'shiny'Version 0.1.1","","Keyboard Shortcuts for 'shiny' Version 0.1.1 documents an R/Shiny utility that assigns, listens to, and manages keyboard shortcuts in web applications. It specifies functions for adding key bindings from the server side, creating key input controls to observe pressed keys, recording user keystrokes, and pausing or resuming keyboard watching. The content includes function signatures, arguments, usage notes, and runnable Shiny example code showing how keys are triggered and recorded.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/keyboard-shortcuts-for-shinyversion-011/699668/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/keyboard-shortcuts-for-shinyversion-011/699668.png","ImageObject",300,407,{"name":92,"@type":93},"jayni","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-17","2026-11-12",true,{"@type":102,"interactionType":103,"userInteractionCount":14},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"How does addKeys bind keyboard shortcuts in a Shiny app?","Question",{"text":112,"@type":113},"Use addKeys(inputId, keys, session) to add server-side key bindings. The function binds a character vector of key combinations, such as command+shift+a or arrow key sequences.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"What is keysInput used for?",{"text":117,"@type":113},"keysInput(inputId, keys, global = FALSE) creates a control that observes keys pressed by the user. When global is TRUE, keys are triggered anywhere inside a text input.",{"name":119,"@type":110,"acceptedAnswer":120},"How can I pause or resume keyboard shortcut monitoring?",{"text":121,"@type":113},"Call pauseKey(session) to pause keyboard watching and unpauseKey(session) to resume it, typically using observeEvent handlers tied to UI buttons.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},699668,1794486678,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":14,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":29,"language":139,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":67,"update_tm":129,"read_time":143,"preview_page_count":19,"preview_urls":144},3985747859343,"https://ap-avatar.wpscdn.com/davatar_276721f389ce27ea32af1340a28f341c","Package ‘keys’  \nMay 8, 2026  \nTitle Keyboard Shortcuts for 'shiny'Version 0.1.1  \nDescription Assign and listen to keyboard shortcuts in 'shiny' using the  \n'Mousetrap' Javascript library.  \nLicense Apache License (>= 2) Encoding UTF-8 RoxygenNote 7.1.1  \nImports htmltools, shiny, jsonlite  \nURL [https://github.com/r4fun/keys](https://github.com/r4fun/keys)  \nBugReports [https://github.com/r4fun/keys/issues](https://github.com/r4fun/keys/issues)  \nSuggests knitr, rmarkdown VignetteBuilder knitr NeedsCompilation no  \nAuthor Tyler Littlefield [aut, cre](Author of Javascript wrapper),  \nColin Fay [aut](ORCID: \u003C[https://orcid.org/0000-0001-7343-1846](https://orcid.org/0000-0001-7343-1846)>),  \nCraig Campbell [cph](Author of JavaScript code) Maintainer Tyler Littlefield \u003Ctylerlittlefield@hey.com> Repository CRAN  \nDate/Publication 2021-07-11 18:00:02 UTC  \nContents  \naddKeys ........................................... 2  \nkeysInput .......................................... 2  \nkeysRecordInput ...................................... 3  \npauseKey .......................................... 4  \nuseKeys ........................................... 5  \nIndex 6  \n2 keysInput  \n\n| addKeys | Add a key binding from the server side |\n| --- | --- |\n\nDescription  \nAdd a key binding from the server side  \nUsage  \naddKeys(inputId, keys, session = shiny::getDefaultReactiveDomain())  \nremoveKeys(keys, session = shiny::getDefaultReactiveDomain())  \nArguments  \ninputId The input slot that will be used to access the value.  \nkeys A character vector of keys to bind. Examples include, command, command+shift+a,  \nup down left right, and more.  \nsession The session object passed to function given to shinyServer. Default is getDefaultReactiveDomain()  \n\n| keysInput | Create a keys input control |\n| --- | --- |\n\nDescription  \nCreate a key input that can be used to observe keys pressed by the user.  \nUsage  \nkeysInput(inputId, keys, global = FALSE)  \nArguments  \ninputId The input slot that will be used to access the value.  \nkeys A character vector of keys to bind. Examples include, command, command+shift+a,  \nup down left right, and more.  \nglobal Should keys work anywhere? If TRUE, keys are triggered when inside a textIn  \nput.  \nkeysRecordInput 3  \nExamples  \n\\#\\# Not run:  \nui \u003C - fluidPage(  \nkeysInput(\"keys\", c(  \n\"1\",  \n\"2\",  \n\"3\",  \n\"command+shift+k\",  \n\"up up down down left right left right b a enter\"  \n)),  \n)  \nserver \u003C - function(input, output, session) {  \nobserveEvent(input$keys, {  \nprint(input$keys)  \n})  \n}  \nshinyApp(ui, server)  \n\\#\\# End(Not run)  \n\n| keysRecordInput | Create a keys recorder input control |\n| --- | --- |\n\nDescription  \nCreate a key input that can be used to record keys pressed by the user.  \nUsage  \nkeysRecordInput(inputId)  \nrecordKeys(inputId, session = shiny::getDefaultReactiveDomain())  \nArguments  \ninputId The input slot that will be used to access the value.  \nsession The session object passed to function given to shinyServer. Default is getDefaultReactiveDomain()  \nExamples  \nif (interactive()) {  \nlibrary(shiny)  \nui \u003C - fluidPage(  \nuseKeys(),  \nkeysRecordInput(\"recorder\"),  \n4 pauseKey  \nkeysInput(\"keys\", \"command+shift+k\"),  \nactionButton(\"record\", \"Record keys\")  \n)  \nserver \u003C - function(input, output, session) {  \nobserveEvent(input$record, {  \nprint(\"recording keys   \")  \nrecordKeys(\"recorder\")  \n})  \nobserveEvent(input$recorder, {  \nprint(\"adding keys   \")  \naddKeys(\"keys\", input$recorder)  \n})  \nobserveEvent(input$keys, {  \nprint(input$keys)  \n})  \n}  \nshinyApp(ui, server)}  \n\n| pauseKey | Pause or Unpause Keys |\n| --- | --- |\n\nDescription  \nThese functions allow to pause and unpause keyboard watching  \nUsage  \npauseKey(session = shiny::getDefaultReactiveDomain())  \nunpauseKey(session = shiny::getDefaultReactiveDomain())  \nArguments  \nsession The session object passed to function given to shinyServer. Default is getDefaultReactiveDomain()  \nExamples  \nif (interactive()){  \nlibrary(shiny)  \nui \u003C - fluidPage","cbCaifBxy6yDKbUA","https://ap.wps.com/l/cbCaifBxy6yDKbUA","pdf",79945,"English","# addKeys\n# keysInput\n# keysRecordInput\n# pauseKey\n# useKeys","[{\"question\":\"How does addKeys bind keyboard shortcuts in a Shiny app?\",\"answer\":\"Use addKeys(inputId, keys, session) to add server-side key bindings. The function binds a character vector of key combinations, such as command+shift+a or arrow key sequences.\"},{\"question\":\"What is keysInput used for?\",\"answer\":\"keysInput(inputId, keys, global = FALSE) creates a control that observes keys pressed by the user. When global is TRUE, keys are triggered anywhere inside a text input.\"},{\"question\":\"How can I pause or resume keyboard shortcut monitoring?\",\"answer\":\"Call pauseKey(session) to pause keyboard watching and unpauseKey(session) to resume it, typically using observeEvent handlers tied to UI buttons.\"}]","Keyboard Shortcuts for 'shiny'Version 0.1.1 | PDF",15,[145,149,153,157],{"page_no":8,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/2c61471f8bc40e186343688de1a33e4d.webp",983,1272,{"page_no":14,"url":150,"width":151,"height":152},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/24e4a68814a8715a6f8b94b98bab39d1.webp",982,1270,{"page_no":81,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/fa14280157469cc8f30d643be36d52f6.webp",981,1269,{"page_no":19,"url":158,"width":159,"height":160},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/79790662309d8740abb21d48132d7f52.webp",980,1268,{"list":162,"token":66},[163,169,175,181,187,193,199,205,211,217],{"doc_id":164,"doc_title":165,"file_type":137,"home_preview_img_url":166,"slug":167,"view_count":39,"category_name":30,"create_tm":168},688604,"Excel keyboard shortcuts - Function keys and common shortcuts for Excel 2013","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001282833/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796134079&Signature=2PfVGY1hyf5aGNGrAe61FGxlsSA%3D","excel-keyboard-shortcuts-function-keys-and-common-shortcuts-for-excel-2013",1794090145,{"doc_id":170,"doc_title":171,"file_type":137,"home_preview_img_url":172,"slug":173,"view_count":52,"category_name":30,"create_tm":174},686876,"Keyboard Shortcuts - Calc Guide 7.5 - Reference","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001185218/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796134079&Signature=IJZQ8Ap9TQ6S6VHFi5FmyUyIXwA%3D","keyboard-shortcuts-calc-guide-75-reference",1794070543,{"doc_id":176,"doc_title":177,"file_type":137,"home_preview_img_url":178,"slug":179,"view_count":39,"category_name":30,"create_tm":180},688456,"Snagit on Mac version 2 - Keyboard Shortcuts","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001279006/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796134079&Signature=ZJYM28wEDBW5w5Y2VZYSmnjeEfo%3D","snagit-on-mac-version-2-keyboard-shortcuts",1794088879,{"doc_id":182,"doc_title":183,"file_type":137,"home_preview_img_url":184,"slug":185,"view_count":29,"category_name":30,"create_tm":186},687650,"Keyboard Shortcuts for Acumatica","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001263105/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796134079&Signature=20GqFCD4e7BmBFb7q0vvIQZhxLY%3D","keyboard-shortcuts-for-acumatica",1794084412,{"doc_id":188,"doc_title":189,"file_type":137,"home_preview_img_url":190,"slug":191,"view_count":81,"category_name":30,"create_tm":192},689417,"Scrivener3 Keyboard Shortcuts - Version 1.2","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001627901/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796134079&Signature=OKKzEVKNH0kK2KUdeHY2kxSAZ8Y%3D","scrivener3-keyboard-shortcuts-version-12",1794107731,{"doc_id":194,"doc_title":195,"file_type":137,"home_preview_img_url":196,"slug":197,"view_count":39,"category_name":30,"create_tm":198},689090,"Writer Guide - Appendix A Keyboard Shortcuts","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001506252/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796134079&Signature=55qP8hHWKI6eNunrisRdhVDaQ1g%3D","writer-guide-appendix-a-keyboard-shortcuts",1794095840,{"doc_id":200,"doc_title":201,"file_type":137,"home_preview_img_url":202,"slug":203,"view_count":14,"category_name":30,"create_tm":204},760260,"Standard Windows Keyboard Layout - Keyboard Shortcuts - Desktop keyboard","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230044228245/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796134079&Signature=AFVIJAm9Bi4lOrwlZvJsgiZ7E6k%3D","standard-windows-keyboard-layout-keyboard-shortcuts-desktop-keyboard",1795899210,{"doc_id":206,"doc_title":207,"file_type":137,"home_preview_img_url":208,"slug":209,"view_count":19,"category_name":30,"create_tm":210},688040,"Revu-2018 - Keyboard Shortcuts - Quick Reference","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000652061/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796134079&Signature=QKLPPNC%2FOioxjpMk9XTu%2BBssS8o%3D","revu-2018-keyboard-shortcuts-quick-reference",1794085812,{"doc_id":212,"doc_title":213,"file_type":137,"home_preview_img_url":214,"slug":215,"view_count":39,"category_name":30,"create_tm":216},688601,"85 keyboard shortcuts for moving faster in Microsoft Excel - Version 1.0","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000660951/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796134079&Signature=qHke110GG5Xya4nJiMmZVREvSlM%3D","85-keyboard-shortcuts-for-moving-faster-in-microsoft-excel-version-10",1794090130,{"doc_id":218,"doc_title":219,"file_type":137,"home_preview_img_url":220,"slug":221,"view_count":34,"category_name":30,"create_tm":222},686839,"Enterprise Architect - Keyboard Shortcuts - User Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000605203/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796134079&Signature=8WjO5T%2FZiPgO4kHhHyP1KzR94Pc%3D","enterprise-architect-keyboard-shortcuts-user-guide",1794067337]