DOM Helpers
Browser Quirks
InnerHTML
;
setInnerHTML()
sets innerHTML property for HTML and SVG elements (IE doesn't have native innerHTML on SVG elements).
KeyboardEvent
;
getEventCharCode()
retrieves a normalized charCode
from a KeyboardEvent.
;
getEventKey()
retrieves a key
from a KeybordEvent with a fallback for browsers that doesn't support key
property.
;
getMouseButtons()
retrieves a buttons
property from a MouseEvent with a fallback implementation for Safari.