JSFiddle - React, Tailwind, and code Playground

by jacob414

JavaScript

// Log as many events as possible, with event names grabbed from
// webkit sources:
// http://svn.webkit.org/repository/webkit/trunk/Source/WebCore/dom/EventNames.h

known = [
    'abort',
    'beforecopy',
    'beforecut',
    'beforeload',
    'beforepaste',
    'beforeprocess',
    'beforeunload',
    'blur',
    'cached',
    'change',
    'checking',
    'click',
    'close',
    'complete',
    'compositionend',
    'compositionstart',
    'compositionupdate',
    'connect',
    'contextmenu',
    'copy',
    'cut',
    'dblclick',
    'devicemotion',
    'deviceorientation',
    'display',
    'downloading',
    'drag',
    'dragend',
    'dragenter',
    'dragleave',
    'dragover',
    'dragstart',
    'drop',
    'error',
    'focus',
    'focusin',
    'focusout',
    'formchange',
    'forminput',
    'hashchange',
    'input',
    'invalid',
    'keydown',
    'keypress',
    'keyup',
    'load',
    'loadstart',
    'message',
    'mousedown',
    'mousemove',
    'mouseout',
    'mouseover',
    'mouseup',
    'mousewheel',
    'noupdate',
    'obsolete',
    'offline',
    'online',
    'open',
    'overflowchanged',
    'pagehide',
    'pageshow',
    'paste',
    'popstate',
    'readystatechange',
    'reset',
    'resize',
    'scroll',
    'search',
    'select',
    'selectstart',
    'storage',
    'submit',
    'textInput',
    'unload',
    'updateready',
    'write',
    'writeend',
    'writestart',
    'zoom',
    'DOMActivate',
    'DOMFocusIn',
    'DOMFocusOut',
    'DOMAttrModified',
    'DOMCharacterDataModified',
    'DOMNodeInserted',
    'DOMNodeInsertedIntoDocument',
    'DOMNodeRemoved',
    'DOMNodeRemovedFromDocument',
    'DOMSubtreeModified',
    'DOMContentLoaded',
    'webkitBeforeTextInserted',
    'webkitEditableContentChanged',
    'canplay',
    'canplaythrough',
    'durationchange',
    'emptied',
    'ended',
    'loadeddata',
    'loadedmetadata',
    'pause',
    'play',
    'playing',
    'ratechange',
   ...