Currently in order to confirm whether a node has had on-load applied correctly I have to do a fairly gnarly brute force against /^data-onloadid/.test(node.attributes[...].name).
I feel like by exposing the attribute key used internally by on-load will provide a much nicer interface to achieve the same result. eg. node.hasAttribute(onload.KEY_ATTR)
Currently in order to confirm whether a node has had
on-load
applied correctly I have to do a fairly gnarly brute force against/^data-onloadid/.test(node.attributes[...].name)
.I feel like by exposing the attribute key used internally by
on-load
will provide a much nicer interface to achieve the same result. eg.node.hasAttribute(onload.KEY_ATTR)