Consider simplifying attribute conversion #4063
Labels
package:engine
status:discussion
type:improvement
This issue reports a possible enhancement of an existing feature.
Milestone
Looking at the image feature converters I particularly didn't like this piece:
Couldn't we have just one event and the type of change as a data property? Could we simplify that consumable check code too? Maybe we could also have a shorthand method in
Element
– likeupdateAttribute()
to avoid having to use bothremove/setAttribute()
methods.The text was updated successfully, but these errors were encountered: