-
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow direct attributes giving on a field #74
Labels
Comments
Thinking more about this:
("class", "style")
(x::String, att"class", y::Int64, att"style")
tr( th = th("good", class = "this", style = "that"))
tr.th # regular content
tr.th["class"] # attribute |
aminya
added
decision
Need to decide about this
question
Further information is requested
and removed
question
Further information is requested
labels
Feb 28, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It helps to avoid creating new struct if the field is just a text and some attributes.
Attributes can be given in a Tuple with the xml name of them:
Two commas were used because the first one is the place holder for the value checking function.
For accessing the
Dict
after creation, one should be able to do this:The text was updated successfully, but these errors were encountered: