Adds keyboard bindings and associated help menu for selecting reminder type in bookmark modal, and pressing Enter to save.
Introduce the following APIs for `KeyboardShortcuts`:
* `pause` - Uses the provided array of combinations and unbinds them using `Mousetrap`.
* `unpause` - Uses the provided combinations and rebinds them to their default shortcuts listed in `KeyboardShortcuts`.
* `addBindings` - Adds the array of keyboard shortcut bindings and calls the provided callback when a binding is fired with Mousetrap.
* `unbind` - Takes an object literal of a binding map and unbinds all of them e.g. `{ enter: { handler: saveAndClose" } };`
|
||
|---|---|---|
| .. | ||
| asset-version.js | ||
| auth-complete.js | ||
| auto-load-modules.js | ||
| avatar-select.js | ||
| badging.js | ||
| banner.js | ||
| click-interceptor.js | ||
| csrf-token.js | ||
| d-popover.js | ||
| ember-events.js | ||
| enable-emoji.js | ||
| ensure-max-image-dimensions.js | ||
| inject-objects.js | ||
| jquery-plugins.js | ||
| keyboard-shortcuts.js | ||
| live-development.js | ||
| localization.js | ||
| logout.js | ||
| logs-notice.js | ||
| message-bus.js | ||
| mobile.js | ||
| page-tracking.js | ||
| post-decorations.js | ||
| read-only.js | ||
| register-discourse-location.js | ||
| register-service-worker.js | ||
| relative-ages.js | ||
| sharing-sources.js | ||
| show-footer.js | ||
| signup-cta.js | ||
| strip-mobile-app-url-params.js | ||
| subscribe-user-notifications.js | ||
| title-notifications.js | ||
| topic-footer-buttons.js | ||
| url-redirects.js | ||