Added toggleAttribute to patched methods to make sure attributeChangedCallback is executed when it is called
When this polyfill is used and an attribute of a Custom Element is added or removed through toggleAttribute, the attributeChangedCallback method is not called.
This PR adds toggleAttribute to the patched methods so attributeChangedCallback is executed when toggleAttribute is called.
Added
toggleAttribute
to patched methods to make sureattributeChangedCallback
is executed when it is calledWhen this polyfill is used and an attribute of a Custom Element is added or removed through
toggleAttribute
, theattributeChangedCallback
method is not called.This PR adds
toggleAttribute
to the patched methods soattributeChangedCallback
is executed whentoggleAttribute
is called.