Focus on render


Starting from the parent element, focus on the first matching element for the selector. You can also define a delay.

Example

Blazor
<div>
    <BdkFocusOnRender Selector="input" Delay="500"/>
    <input class="form-control"/>
</div>