* Sets an arbitrary attribute on the span. Warning: use this wisely. Not * all browsers support attributes the same, and having too many custom * attributes is probably bad.
(attribute, value)
| 1093 | |
| 1094 | |
| 1095 | setAttribute(attribute, value) { |
| 1096 | this.attributes[attribute] = value; |
| 1097 | } |
| 1098 | |
| 1099 | hasClass(className) { |
| 1100 | return utils.contains(this.classes, className); |
no outgoing calls
no test coverage detected