Class TJSFocusWrap
Hierarchy
- SvelteComponent<TJSFocusWrap.Props, TJSFocusWrap.Events, TJSFocusWrap.Slots>
- TJSFocusWrap (View Summary)
Indexable
- [prop: string]: any
Index
Constructors
Methods
Constructors
constructor
Parameters
- options: ComponentConstructorOptions<TJSFocusWrap.Props>
Returns TJSFocusWrap
Methods
$destroy
Returns void
$on
Type Parameters
- K extends string
Parameters
- type: K
- callback: (e: CustomEvent<any>) => void
Returns () => void
Provides a component to wrap focus to the first focusable element in the given
elementRootprop. Place this component as the last child inelementRoot.