Package Exports
- ngx-focus-trap
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ngx-focus-trap) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
This is work in progress !!!!
ngx-focus-trap
Trap focus within a DOM node.
There may come a time when you find it important to trap focus within a DOM node — so that when a user hits Tab or Shift+Tab or clicks around, they can't escape a certain cycle of focusable elements.
You will definitely face this challenge when you are trying to build accessible modals.
This Angular module is built over focus-trap to help you solve this challenge .