focus-if

Focuses the field if the expression inside this attribute is true.

Usage

<input focus-if="app.focusField"/>

Optional attributes:

  • focus-delay focus a field automatically after rendering.
    <input focus-if focus-delay="500"/>
    `
    

results matching ""

    No results matching ""