Skip to content

Commit 9bc6267

Browse files
Update README.md
1 parent e658333 commit 9bc6267

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ automatically installed when you install `bootstrap-html5-fallback`:
2525
so that the selected color is shown to the right of it. As a default this option is `false`;
2626
7. Numeric-range [seiyria-bootstrap-slider](https://github.com/seiyria/bootstrap-slider).Options placed in options property: `html5FallbackWidgets.range`
2727

28+
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.
29+
2830
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:
2931

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

0 commit comments

Comments
 (0)