Skip to content
/ shims Public

Useful shims and polyfills for extra javascript functionality and for IE too

License

Notifications You must be signed in to change notification settings

storkjs/shims

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shims

GitHub license GitHub issues Bower version

What is it? Essential shims and polyfills for general usage and for IE11 compatibility. Made for StorkJS components.

Why? Why does IE even exists? No one knows..

Shims & Polyfills

CustomEvent: Adds CustomEvent for IE (9-11).

isInteger: Adds Number.isInteger for IE.

keyboardMap: A useful array of all keyboard key names ordered by their keyCode.

getCoordinates: Adds a new method on Element's prototype. This method returns an object with the general position of the element (x & y).

index: Adds a new property on Element's prototype. This property returns the index of the element in its parent's children.

About

Useful shims and polyfills for extra javascript functionality and for IE too

Resources

License

Stars

Watchers

Forks

Packages

No packages published