aboutsummaryrefslogtreecommitdiff
path: root/js/README.md
diff options
context:
space:
mode:
authorJacob Thornton <[email protected]>2011-11-27 17:04:55 -0800
committerJacob Thornton <[email protected]>2011-11-27 17:04:55 -0800
commit46fe38386afce7149810b1feb534726735ce28b2 (patch)
treec6a8b8e5c27a0aa30491f95505d7ed431845c5c7 /js/README.md
parent3925ea9986e70f5a87883563c47c8ecd3d631c02 (diff)
downloadbootstrap-46fe38386afce7149810b1feb534726735ce28b2.tar.xz
bootstrap-46fe38386afce7149810b1feb534726735ce28b2.zip
rename tabs to tab - clean up lots of api stuff make href acceptable target val
Diffstat (limited to 'js/README.md')
-rw-r--r--js/README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/README.md b/js/README.md
index 98be75421..5224d65b7 100644
--- a/js/README.md
+++ b/js/README.md
@@ -67,14 +67,14 @@ All events should have an infinitive and past participle form. The infinitive is
Data attributes should take the following form:
data-*(verb)* - defines main interaction
-data-target - defined on controller element (if element interacts with an element other than self)
+data-target || href^=# - defined on controller element (if element interacts with an element other than self)
data-*(noun)* - defines options for element invocation
examples:
// control other targets
data-toggle="modal" data-target="#foo"
- data-toggle="view" data-target="#foo"
+ data-toggle="collapse" data-target="#foo" data-parent="#foo"
// defined on element they control
data-spy="scroll"