Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
222067b3
Commit
222067b3
authored
13 years ago
by
Jacob Thornton
Browse files
Options
Download
Email Patches
Plain Diff
javascript pages markedup with {{_i}}
parent
16440eea
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/javascript.html
+6
-6
docs/javascript.html
docs/templates/pages/javascript.mustache
+227
-227
docs/templates/pages/javascript.mustache
with
233 additions
and
233 deletions
+233
-233
docs/javascript.html
+
6
-
6
View file @
222067b3
...
...
@@ -914,7 +914,7 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
<p>
Closes an alert.
</p>
<pre
class=
"prettyprint linenums"
>
$(".alert-message").alert('close')
</pre>
<h3>
Events
</h3>
<p>
Bootstrap's alert class exposes a few events for hooking into alert functionality.
</p>
<p>
Bootstrap's alert class exposes a few events for hooking into alert functionality.
</p>
<table
class=
"table table-bordered table-striped"
>
<thead>
<tr>
...
...
@@ -935,7 +935,7 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
</table>
<pre
class=
"prettyprint linenums"
>
$('#my-alert').bind('closed', function () {
// do something
...
// do something
…
})
</pre>
</div>
</div>
...
...
@@ -1024,7 +1024,7 @@ $('#my-alert').bind('closed', function () {
<h4>
$().button('toggle')
</h4>
<p>
Toggles push state. Gives btn the look that it's been activated.
</p>
<p><span
class=
"label notice"
>
Notice
</span>
You can enable auto toggling of a button by using the
<code>
data-toggle
</code>
attribute.
</p>
<pre
class=
"prettyprint linenums"
>
<
button class="btn" data-toggle="button"
>
...
<
/button
>
</pre>
<pre
class=
"prettyprint linenums"
>
<
button class="btn" data-toggle="button"
>
…
<
/button
>
</pre>
<h4>
$().button('loading')
</h4>
<p>
Sets button state to loading - disables button and swaps text to loading text. Loading text should be defined on the button element using the data attribute
<code>
data-loading-text
</code>
.
</p>
...
...
@@ -1166,7 +1166,7 @@ $('#myCollapsible').collapse({
</thead>
<tbody>
<tr>
<td>
show
<
/td>
<td>
show/td>
<td>
This event fires immediately when the
<code>
show
</code>
instance method is called.
</td>
</tr>
<tr>
...
...
@@ -1188,7 +1188,7 @@ $('#myCollapsible').collapse({
<pre
class=
"prettyprint linenums"
>
$('#myCollapsible').on('hidden', function () {
// do something
...
// do something
…
})
</pre>
</div>
</div>
...
...
@@ -1293,7 +1293,7 @@ $('.myCarousel').carousel({
<h4>
.carousel('next')
</h4>
<p>
Cycles to the next item.
</p>
<h3>
Events
</h3>
<p>
Bootstrap's modal class exposes a few events for hooking into modal functionality.
</p>
<p>
Bootstrap's modal class exposes a few events for hooking into modal functionality.
</p>
<table
class=
"table table-bordered table-striped"
>
<thead>
<tr>
...
...
This diff is collapsed.
Click to expand it.
docs/templates/pages/javascript.mustache
+
227
-
227
View file @
222067b3
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment