MCPcopy Index your code
hub / github.com/WebReflection/wicked-elements / attributeChangedCallback

Function attributeChangedCallback

index.js:171–180  ·  view source on GitHub ↗
(records, o)

Source from the content-addressed store, hash-verified

169 var defined = {};
170
171 var attributeChangedCallback = function attributeChangedCallback(records, o) {
172 for (var h = attributes.get(o), i = 0, length = records.length; i < length; i++) {
173 var _records$i = records[i],
174 target = _records$i.target,
175 attributeName = _records$i.attributeName,
176 oldValue = _records$i.oldValue;
177 var newValue = target.getAttribute(attributeName);
178 h.attributeChanged(attributeName, oldValue, newValue);
179 }
180 };
181
182 var set = function set(value, m, l, o) {
183 var handler = create(o, {

Callers

nothing calls this directly

Calls 1

attributeChangedMethod · 0.80

Tested by

no test coverage detected