HeinrichApfelmus / threepenny-gui

GUI framework that uses the web browser as a display.
https://heinrichapfelmus.github.io/threepenny-gui/
Other
437 stars 77 forks source link

Empty attributes #170

Open jerbaroo opened 7 years ago

jerbaroo commented 7 years ago

I would like to set the attribute webkitdirectory on an <input> element such that users of the application are only allowed to select directories.

How about exposing emptyAttr, similar to the html package?

HeinrichApfelmus commented 7 years ago

I'm a bit confused. The combinator attr allows you to set any HTML attribute, though at the moment, it is restricted to attributes with String values. I take it that you are saying that this does not cover the case of the empty attribute?