@blinkk/degu
    Preparing search index...

    Function forceFocus

    • An attempt at override VO focus. Requires the element to have a tabindex="-1" and then focusing. To fully reinstante the original state prior to running force focus, run resetForceFocus().


      dom.forceFocus(myElement);

      window.setTimeout(()=> {

      dom.forceFocus(myElement2);

      }, 2000)

      Parameters

      • el: HTMLElement

      Returns void