Skip to main content

Modalizer

About

Modalizer allows to make some part of the application focusable, while keeping the rest of it not focusable. Like the modal dialog and everything under it.

Setup

To get Modalizer working, we need to call getModalizer() function:

import { createTabster, getModalizer } from "tabster";

let tabsterCore = createTabster(window);

getModalizer(tabsterCore);

Properties

id: string

isOthersAccessible?: boolean

isAlwaysAccessible?: boolean

isNoFocusFirst?: boolean

isNoFocusDefault?: boolean

Examples

See a basic Modalizer example in the Storybook.