I think that attribute only works for focusing on a page load, not for
firing some arbitrary .focus() event. But it's the only Elm-based way I
could find.

On Fri, May 27, 2016 at 3:24 PM, Nick H <[email protected]> wrote:

>
> http://package.elm-lang.org/packages/elm-lang/html/1.0.0/Html-Attributes#autofocus
>
> On Fri, May 27, 2016 at 3:06 PM, Matt Woodyard <[email protected]>
> wrote:
>
>> Is there a elm based way to set the focus of a node or are ports the way
>> to do this still?
>>
>> matt
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Elm Discuss" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to