Blazorise Focus Trap API

Explore the Blazorise Focus Trap API reference for parameters, events, methods, and related types.

For examples and usage guidance, see the Focus Trap documentation.

API

Parameters

Parameter Description TypeDefault
Active

If true the TAB focus will be activated.

boolfalse
ChildContent

Defines the content rendered inside the focus trap.

RenderFragmentnull

Methods

Method DescriptionReturnParameters
SetFocus Sets the focus trap. Task
NotifyFocusableComponentInitialized Notifies the container component that its IFocusableComponent is initialized. voidIFocusableComponent focusableComponent
NotifyFocusableComponentRemoved Notifies the container component that its IFocusableComponent is removed. voidIFocusableComponent focusableComponent
On this page