reflex-frp / reflex-dom-semui

A reflex-dom API for Semantic UI components
https://reflex-frp.org/
BSD 3-Clause "New" or "Revised" License
22 stars 10 forks source link

Fancy dropdown items #1

Closed imalsogreg closed 7 years ago

imalsogreg commented 7 years ago

I'm trying to replace my ad-hoc use of semui classes with reflex-dom-semui.

screen shot 2016-10-06 at 11 56 23 pm

A menu-item here is a several-line MonadWidget action that splits the item into a pair of <span>s to separately decorate. To get this in reflex-dom-semui would we need one of your semUiDropdown functions to take an argument Dynamic t (Map a (m ())) rather than Dynamic t (Map a Text)?

mightybyte commented 7 years ago

Yeah, that sounds reasonable. This dropdown stuff needs a lot of expansion. Maybe add a new function instead of changing the existing one.

imalsogreg commented 7 years ago

21324ac89bcda8b7b4484209c7846e80ce895c9a