`attrName.startWith("on-") ? ...` would be better