", {
"class": "ui-header ui-bar-" + widget.options.theme
From 01be150d088ea4cba3675951d75283167065484c Mon Sep 17 00:00:00 2001
From: Maurice Gottlieb
Date: Tue, 7 Aug 2012 14:49:51 +0300
Subject: [PATCH 3/6] Docs: Add info for list-divider support for optgroups
---
docs/forms/selects/custom.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/forms/selects/custom.html b/docs/forms/selects/custom.html
index 2952bb3a51a..9b871d235fd 100644
--- a/docs/forms/selects/custom.html
+++ b/docs/forms/selects/custom.html
@@ -277,7 +277,7 @@
Multiple selects
Optgroup support
-
If a select menu contains optgroup elements, jQuery Mobile will create a divider & group items based on the label attribute's text:
+
If a select menu contains optgroup elements, jQuery Mobile will create divider & group items based on the label attribute's text. The default theme for group dividers is "b" (blue in the default theme) but can be changed with the data-divider-theme attribute on the select menu:
From 9a303a017fc5a3ecde36bb146f92e16ee26eb77c Mon Sep 17 00:00:00 2001
From: Maurice Gottlieb
Date: Sat, 25 Aug 2012 19:10:43 +0300
Subject: [PATCH 4/6] Docs: Correct wording at optgroup paragraph
(select/custom.html)
---
docs/forms/selects/custom.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/forms/selects/custom.html b/docs/forms/selects/custom.html
index 9b871d235fd..ef24b4e337b 100644
--- a/docs/forms/selects/custom.html
+++ b/docs/forms/selects/custom.html
@@ -277,7 +277,7 @@
Multiple selects
Optgroup support
-
If a select menu contains optgroup elements, jQuery Mobile will create divider & group items based on the label attribute's text. The default theme for group dividers is "b" (blue in the default theme) but can be changed with the data-divider-theme attribute on the select menu:
+
If a select menu contains optgroup elements, jQuery Mobile will create a divider and group items based on the optgroup label attribute's text. The default theme swatch for group dividers is "b" (blue in the default theme) but can be changed with the data-divider-theme attribute on the select menu:
Applies the theme button border-radius to the select button if set to true. This option is also exposed as a data attribute: data-corners="false"
$('select').selectmenu({ corners: false });
-
+
+
dividerThemestring
+
+
default: "b"
+
Sets the color scheme (swatch) for dividers in popup-based custom select menus when using the optgroup support. It accepts a single letter from a-z that maps to the swatches included in your theme. To set the value for all instances of this widget, bind this option to the mobileinit event: