Called by the DOM whenever an attribute on this has been changed.
void attributeChanged(String name, String oldValue, String newValue) { if (name != 'class' && name != 'style') { attributeToProperty(name, newValue); } }