polyfill-service
Version:
A polyfill combinator
1 lines • 858 B
JSON
{"aliases":["default"],"browsers":{"firefox":"6 - *","firefox_mob":"6 - *"},"dependencies":["Event"],"docs":"https://developer.mozilla.org/en-US/docs/Web/Events/focusin","baseDir":"Event/focusin","hasTests":true,"rawSource":"\n// Event.focusin\nthis.addEventListener('focus', function (event) {\n\tevent.target.dispatchEvent(new Event('focusin', {\n\t\tbubbles: true,\n\t\tcancelable: true\n\t}));\n}, true);\n\nthis.addEventListener('blur', function (event) {\n\tevent.target.dispatchEvent(new Event('focusout', {\n\t\tbubbles: true,\n\t\tcancelable: true\n\t}));\n}, true);\n","minSource":"this.addEventListener(\"focus\",function(e){e.target.dispatchEvent(new Event(\"focusin\",{bubbles:!0,cancelable:!0}))},!0),this.addEventListener(\"blur\",function(e){e.target.dispatchEvent(new Event(\"focusout\",{bubbles:!0,cancelable:!0}))},!0);","detectSource":""}