-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
better documentation #5
Comments
Which feature keywords can be used in "$.webshims.polyfill()" ? |
The feature-keywords are: the profiles-keywords are: If you have a suggestion how and where I should document this. Currently, it is documented in the several feature description. |
You could write under "Embedding and configuring the script". There you describe lightweight but not what "all" is. |
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/ |
How do I style the widget buttons to be outside my date control? So far I have this working: $.webshims.setOptions("forms-ext", { I need to know how to set the button styles. |
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:
Please let me know wether this helps. |
How do I disable number input spinner? There is an example here, but i don't understand how it was implemented... |
This is in general explained here So you can write:
or with declarative:
I guess you tryed:
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. |
Thanks for the answer. |
The text was updated successfully, but these errors were encountered: