optionalAttribute
Adds an attribute to this tag only if value is not null
.
Return
this for concatenation
Parameters
key
attribute key
value
attribute value, applied only if not null
Adds an attribute to this tag only if value is not null
.
this for concatenation
attribute key
attribute value, applied only if not null