Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Webshims Lib - A Modular Capability-Based Polyfill-Loading Library

DZone's Guide to

Webshims Lib - A Modular Capability-Based Polyfill-Loading Library

· Web Dev Zone
Free Resource

Tips, tricks and tools for creating your own data-driven app, brought to you in partnership with Qlik.

Webshims Lib is a modular capability-based polyfill-loading library, which focuses on accurate implementations of stable HTML5 features, so that developers can write modern, interoperable and robust code in all browsers. It is built on top of jQuery and Modernizr.  General Principles:

  • HTML5 compliant: correctly and accurately implemented (HTML5) Markup-, JS- and DOM-APIs
  • Capability based loading: extremely lightweight in modern browsers
  • Cross-browser support: All A-Graded browsers including latest version of Opera are tested
  • Extendable: if we have not implemented a feature you want, you can easily implement it on your own
  • Implemented 
Features:

  • HTML5 shiv and innerShiv solution including basic CSS-support
  • canvas
  • HTML5 form features including: constraint validation and form widgets (input[range], input[date], input[time], input[datetime-local], output, input[list]/datalist)
  • HTML5 audio/video implementation
  • interactive elements: summary/details
  • JSON (stringify and parse)
  • localStorage/sessionStorage
  • geolocation
  • ECMAScript 5 / JavaScript 1.8.5 features


Requirements
: jQuery and Modernizr
Demohttp://afarkas.github.com/webshim/demos/
License: MIT License

Explore data-driven apps with less coding and query writing, brought to you in partnership with Qlik.

Topics:

Published at DZone with permission of Hirvesh Munogee, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}