Open int3 opened 10 years ago
I know it's good practice to split out bugs into different issues, but in the interests of not spamming... here's one more suggestion: Could you expose str/int/emptyAttr
? They seem like useful convenience functions.
Suggestion 4: It should be possible to sink
single CSS styles directly, rather than editing the entire CSS style list at once.
P.S. If you think any of these suggestions are good ideas I'd be happy to submit PRs for them once I'm done with my current project.
id
attribute is not as useful as it could be at the moment. For CSS, classes are probably preferred.Graphics.UI.Threepenny.Elements
etc. modules form a template engine (with weird syntax, namely Haskell syntax). Concerning other solutions, I would very much prefer a WYSWIG program for building HTML GUIs.attr
is always available. (If these three functions are to be exported, I would give them other names, because I don't like the current ones.)(Unfortunately, I won't have much time until October, so I may be very slow in accepting patches.)
I find it to be an operation at least as common as setting the CSS class. And
(##)
would be in obvious analogy to the CSS syntax plus the existing(#.)
operator.Suggestion 2, while I'm at it: Are you considering some sort of support for a templating system? Maybe heist, since threepenny already depends on snap...