Questions tagged [webshim]

Webshim or Webshims is a modular capability-based polyfill loading libary, which extends jQuery with many HTML5 features in legacy browsers

Webshim or Webshims is an open source modular capability-based polyfill loading libary, which extends jQuery with HTML5 features in legacy browsers and fixes bugs in modern browsers. It is based on Modernizr and jQuery.

Key principle of webshims is to implement the HTML5 API without inventing a new API, to achieve this, the abstracted jQuery API is used.

Example Source for HTML5 Video:

$('video').prop('currentTime', 20); 

Resources:

77 questions
1
vote
3 answers

Using webshim in grails

I'm having a lot of issues running webshims in grails. I believe the problem is that when I include the polyfiller.js file in my .gsp page the polyfiller.js can't access any other of the js files in the library... Does any one know a work around ?…
Brandon Wagner
  • 893
  • 9
  • 27
1
vote
1 answer

Webshims placeholder is being hidden when appending dynamic content

I'm trying to put together an email list template Using Handlebars.js with requirejs and Backbone.js, the initial rendering shows up as expected - a single email input with an add icon to add more. var EmailView = bb.View.extend({ tagName: …
1
vote
2 answers

Run a webshim "addCustomValidityRule"

I check if one of two text inputs have text, using webshim, and think custom-validity sounds correct. http://afarkas.github.io/webshim/demos/demos/webforms/4-webforms-custom-validity.html There is a method called addCustomValidityRule that looks…
thatsIT
  • 2,085
  • 6
  • 29
  • 43
1
vote
1 answer

jQuery Webshim Lib does not display datalist content updated using javascript

I use JQuery 1.9.1, Modernizr 2.6.2 (Custom Build with yepnope) and the Webshim Library. I tested on Safari 6.0.4 and Firefox 20.0 on Mac OSX 10.7.5 I have an HTML5 page where I have a datalist defined as follow:
Ailete619
  • 194
  • 1
  • 18
0
votes
1 answer

How to get the webshim polyfill library working in React?

I want to access the geolocation feature from the webshim library but i have failed to figure out the right setup to get it working ? I am already accessing the inbuilt browser geolocation feature, but want to setup the polyfill in the case of…
0
votes
0 answers

Webshim: Initialization for a specific FormID

How can I initialize webshim only for a specific formID? webshim.polyfill('#formID forms forms-ext');
JohnTC
  • 1
  • 1
0
votes
0 answers

Decimal numbers with comma fail validation in Germany or Turkish

I have tried your library for number and date. date is working but number have a problem that if I use Germany language, Format is 1.234,56 I get this error: "Invalid input." it is working but There is a validation problem. you get validation error…
suphi
  • 11
  • 4
0
votes
1 answer

Getting Empty emails using html5 form and php

I have some html5 form fields on a website that I manage that push the data inputted by users to a php file that sends an email to a dedicated yahoo email for the site. Here is the html:
arias_JC
  • 549
  • 3
  • 15
0
votes
1 answer

Enforce es6 Browser shims in angular2 / webpack

I made this "widget" which clients can load on their website in angular2. e.g. There are some more settings etc. but that's not relevant, values are pulled from the native element, all seems to work fine…
Mathijs Segers
  • 6,168
  • 9
  • 51
  • 75
0
votes
1 answer

Recent firefox and the webshim implementation of details

Recent releases of Firefox (e.g. 49.0) implement the details tag. Unfortunately this is partially not compatible with the webshim implementation of details. The black triangle disappears although the content of the summary tag is still visible and…
jmatos
  • 123
  • 1
  • 2
  • 8
0
votes
1 answer

Webshim for inputs with changing type

If i use webshim to enhance firefox with a datepicker, i have some problems with dynamic content: if i change the type of the input, webshim does not update the widget itself. if i use the method updatePolyfill the widget will not be replaced, but…
Benjamin Eckstein
  • 884
  • 2
  • 9
  • 19
0
votes
1 answer

How to use webshim in EmberJS?

I like to use webshim in Ember.js for a better user experience when input type time is not supported by browser (like current versions of Firefox, Internet Explorer). But there seems to be an issue concerning bindings. While model gets updated when…
jelhan
  • 6,149
  • 1
  • 19
  • 35
0
votes
1 answer

webshim fails to grab the Spanish locale

In firefox webshim fail to grab spanish locale, it always show in english but for example en fr it works fine and show france. How can fix it? I want my application to locale browser adpate.
Pablo Grela
  • 29
  • 1
  • 4
0
votes
1 answer

How to disable scroll on HTML5 date inputs having a webshim fallback in

I'm trying without success to disable scroll on an HTML5 date input. This input has a webshim fallback, which cause my JS to works with Chrome, but not Firefox. $('.input-date input').on('mousewheel', function (event) { …
zessx
  • 68,042
  • 28
  • 135
  • 158
0
votes
1 answer

Programmatically updating a Webshim date doesn't work in IE 8

I'm using an HTML with a Knockout binding. I'm using Webshim for browsers that don't support the date input type. The native browsers are working perfectly; changing the date changes the model, and changing the model…
rjmunro
  • 27,203
  • 20
  • 110
  • 132