From bb7b09f2a165dad18a8b72b53a8aa62179fbabcd Mon Sep 17 00:00:00 2001
From: scottjehl
Date: Fri, 1 Apr 2011 14:58:36 -0400
Subject: [PATCH] documented theme css namespace caveat. Fixes #1341
---
docs/api/globalconfig.html | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/docs/api/globalconfig.html b/docs/api/globalconfig.html
index 736ed550..564a8e62 100755
--- a/docs/api/globalconfig.html
+++ b/docs/api/globalconfig.html
@@ -70,7 +70,13 @@ $(document).bind("mobileinit", function(){
- ns (string, default: ""):
- - The namespace used in data- attributes, for example, data-role. Can be set to anything, including a blank string which is the default. When using, it's clearest if you include a trailing dash, such as "mynamespace-" which maps to
data-mynamespace-foo="...".
+ - The namespace used in data- attributes, for example, data-role. Can be set to anything, including a blank string which is the default. When using, it's clearest if you include a trailing dash, such as "mynamespace-" which maps to
data-mynamespace-foo="...".
+ NOTE: if you're using data- namespacing, you'll need to manually update/override one selector in the theme CSS. The following data selectors should incorporate the namespace you're using:
+
+.ui-mobile [data-mynamespace-role=page], .ui-mobile [data-mynamespace-role=dialog], .ui-page { ...
+
+
+
subPageUrlKey (string, default: "ui-page"):
The url parameter used for referencing widget-generated sub-pages (such as those generated by nested listviews). Translates to to example.html&ui-page=subpageIdentifier. The hash segment before &ui-page= is used by the framework for making an Ajax request to the URL where the sub-page exists.