diff options
author | Jacob Thornton <jacobthornton@gmail.com> | 2011-11-28 05:04:55 +0400 |
---|---|---|
committer | Jacob Thornton <jacobthornton@gmail.com> | 2011-11-28 05:04:55 +0400 |
commit | 46fe38386afce7149810b1feb534726735ce28b2 (patch) | |
tree | c6a8b8e5c27a0aa30491f95505d7ed431845c5c7 /js/README.md | |
parent | 3925ea9986e70f5a87883563c47c8ecd3d631c02 (diff) |
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.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/README.md b/js/README.md index 98be75421d..5224d65b7b 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" |