-
-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
decisionNeed to decide about thisNeed to decide about thisenhancementNew feature or requestNew feature or request
Description
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:
@aml mutable struct tr "~"
th::String, "~", missing, ("class", "style")
end
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:
tr.th # regular content
tr.th["class"] # attribute
Metadata
Metadata
Assignees
Labels
decisionNeed to decide about thisNeed to decide about thisenhancementNew feature or requestNew feature or request