In that case, you're better of just using the :hover selector in CSS.

On Friday, May 27, 2016 at 10:15:22 PM UTC+2, John Watson wrote:
>
> Nothing fancy - just basic styling of colour, opacity etc.
>
> On Friday, 27 May 2016 20:01:13 UTC+1, VeryThorough wrote:
>>
>> What do you want to happen on hover?  If you can give some details, I can 
>> probably tell you how to do it in CSS.
>>
>> On Friday, May 27, 2016 at 3:46:06 AM UTC-7, John Watson wrote:
>>>
>>> If I have a bunch of buttons that all need to respond to mouseOver 
>>> 'hover' in the same way, what's the best practice for implementing this in 
>>> elm?  I have so far looked at mdgriffith/elm-style-animation.  This seems 
>>> fine although I wondered if using this for such simple behaviour was 
>>> overkill.  As far as I can see I need to keep track of state for each 
>>> button and allocate an id to each.
>>>
>>

-- 
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