Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
frankabbruzzese authored Oct 25, 2016
1 parent e658333 commit 9bc6267
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ automatically installed when you install `bootstrap-html5-fallback`:
so that the selected color is shown to the right of it. As a default this option is `false`;
7. Numeric-range [seiyria-bootstrap-slider](https://github.com/seiyria/bootstrap-slider).Options placed in options property: `html5FallbackWidgets.range`

As for version >= 1.0.2 all above options accept also a function that is passed the node to enhance with the widget (as an Html node NOT a jQuery object) as firts argument, and the original Html5 node as second argument. The function must return a valid option object for the widget. This way, the developer may apply different options to each instance of the same widget.

The enhancemet of a falled back Html5 input with one of the above widget may be prevented by setting to `null` its associated `enhance` property in the `mvcct-enhancer` options object:

```
Expand Down Expand Up @@ -64,4 +66,4 @@ with the original Html5 input corresponding property values.
* the range/slider widget formatter property has been used to localize the numbers shown in labels.
However, the developer may override this function.
* the color-picker format is set to hexadecimal (hex) since this is the format used by native pickers.
However, the developer may override this setting.
However, the developer may override this setting.

0 comments on commit 9bc6267

Please sign in to comment.