Comments (9)
It would be possible to make the documentation clearer by listing and describing every method by itself with examples, like in the jQuery docs: http://api.jquery.com/jQuery.ajax/
from webshim.
Which feature keywords can be used in "$.webshims.polyfill()" ?
from webshim.
The feature-keywords are:
es5, json-storage, geolocation, canvas, forms. forms-ext
the profiles-keywords are:
-lightweight (FF4 doesn't has to load anything. everything is included, except forms-ext)
-xlightweight (FF4 and IE9 doesn't have to load anything, everything is included except of forms and forms-ext)
If you have a suggestion how and where I should document this. Currently, it is documented in the several feature description.
from webshim.
You could write under "Embedding and configuring the script". There you describe lightweight but not what "all" is.
from webshim.
How do I style the widget buttons to be outside my date control?
So far I have this working:
$.webshims.setOptions("forms-ext", {
replaceUI: true,
date: {
startView: 2
}
});
I need to know how to set the button styles.
from webshim.
You find an example here.
It's quite simple. If you use positive margin-left styles for the buttons, they are positioned outside. Webshims detects this an will adjust the width calculation autmatically:
.input-buttons.date-input-buttons {
margin-left: 2px;
}
Please let me know wether this helps.
from webshim.
How do I disable number input spinner?
There is an example here, but i don't understand how it was implemented...
from webshim.
This is in general explained here
So you can write:
$('input').prop('disabled', true);
or with declarative:
<input type="number" disabled />
I guess you tryed:
input.disabled = true;
Which is quite hard to implement x-browser. The interesting part of webshims is indeed, that I do not try to invent a new abstraction layer. I simply use jQuery build in methods and extend those. Especially this makes webshims so special over all shims, which implement new abstractions and therefore have to be loaded in all browsers.
from webshim.
Thanks for the answer.
Actually I don't know that setting 'disabled' to true, the controls would be disabled.
from webshim.
Related Issues (20)
- Failed to construct 'URL' error on Chrome 53 HOT 3
- how to prevent invalid date get wiped?
- How to set different option to different input
- IE 9: Required on input type="email" not working HOT 1
- Publish on packagist.org
- Only work once on firefox using Angular HOT 2
- How to show date in "12/12/12" format instead of "12/12/2012" format
- bower.json is not in github release version
- Typing error on search result
- Multiple Date Fields; only the last is choosable
- Cant play youtube
- Set new Max Date via JS; Selection higher than max date possible
- change event not trigger after display none in IE9
- Seconds in datetime-local? HOT 1
- Website form examples are down (unaccessable jsfiddle)
- Firefox 57.0.1: forms-ext Datetimepicker [type="datetime-local"] broken HOT 5
- Incorrect set first week day in header datepicker
- turkish number format is similar like Germany format
- DVLA 'Share Code' for renewal read-only
- Suggest some workaround - webshim Polyfill breaks due to jquery upgrade 3.6.0 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webshim.