Seed Bible extension API (v1.19.0) / seed-bible/components / ModalLayerOptions
Interface: ModalLayerOptions
Properties
containFocus?
containFocus?: boolean;Pull focus back in whenever it lands outside, not just on Tab.
enabled?
enabled?: boolean;False while the element isn't acting as a modal. Defaults to true.
initialFocusRef?
initialFocusRef?: ElementRef;What gets focus on open; defaults to the container itself.
onEscape?
onEscape?: () => void;What Escape does while this is the top layer. Without it, nothing.
Returns
void