
Security News
High Salaries No Longer Enough to Attract Top Cybersecurity Talent
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
@riot-material/focus-manager
Advanced tools
You can install it via nodejs ```sh npm install @riot-material/focus-manager ``` or download one of the bundled file ```js /** * `dist/index.amd.js` * `dist/index.umd.js` */ requirejs.config({ paths: { "@riot-material/focus-manager":
You can install it via nodejs
npm install @riot-material/focus-manager
or download one of the bundled file
/**
* `dist/index.amd.js`
* `dist/index.umd.js`
*/
requirejs.config({
paths: {
"@riot-material/focus-manager": "path/to/@riot-material/focus-manager",
},
});
require(['@riot-material/focus-manager'], function (focusManager) {
// ...
});
/**
* `dist/index.js`
*/
import * as focusManager from "@riot-material/focus-manager";
// or
import { ... } from "@riot-material/focus-manager";
otherwise you can include the script in your project html
<script src="@riot-material/focus-manager/index.umd.js" />
and access it via
window.riotMaterial.focusManager;
hold(options?:
IOptions
): void
release(): void
on<T extends keyof
IManageableEvent
`>(type: T, listener: (event: HTMLElementEventMap[T]) => void): voidIOptions
element?: HTMLElement
onFocusInside?: (element: Element) => boolean
if returns true
the focus is kept to the element and hold back when it blurs away
onFocusOutside?: (element: Element) => boolean
if returns true
the focus-manager is release
d
onPrevious?: () => void
onNext?: () => void
IManageableEvent
"keydown": KeyboardEvent
"keyup": KeyboardEvent
FAQs
You can install it via nodejs ```sh npm install @riot-material/focus-manager ``` or download one of the bundled file ```js /** * `dist/index.amd.js` * `dist/index.umd.js` */ requirejs.config({ paths: { "@riot-material/focus-manager":
The npm package @riot-material/focus-manager receives a total of 21 weekly downloads. As such, @riot-material/focus-manager popularity was classified as not popular.
We found that @riot-material/focus-manager demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
Product
Socket, the leader in open source security, is now available on Google Cloud Marketplace for simplified procurement and enhanced protection against supply chain attacks.
Security News
Corepack will be phased out from future Node.js releases following a TSC vote.