2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-11 18:02:28 +03:00

rename tabs to tab - clean up lots of api stuff make href acceptable target val

This commit is contained in:
Jacob Thornton
2011-11-27 17:04:55 -08:00
parent 3925ea9986
commit 46fe38386a
8 changed files with 161 additions and 124 deletions
+2 -2
View File
@@ -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"