Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
b9292ff9
Commit
b9292ff9
authored
Dec 08, 2012
by
Mark Otto
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6165 from Quy/2.2.2-wip
Apply code tag to data attribute on javascript page
parents
820a3b27
3bd9a26c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
docs/javascript.html
docs/javascript.html
+4
-4
docs/templates/pages/javascript.mustache
docs/templates/pages/javascript.mustache
+4
-4
No files found.
docs/javascript.html
View file @
b9292ff9
...
...
@@ -1132,7 +1132,7 @@ $('#my-alert').bind('closed', function () {
<p>
Do more with buttons. Control button states or create groups of buttons for more components like toolbars.
</p>
<h4>
Stateful
</h4>
<p>
Add
data-loading-text="Loading..."
to use a loading state on a button.
</p>
<p>
Add
<code>
data-loading-text="Loading..."
</code>
to use a loading state on a button.
</p>
<div
class=
"bs-docs-example"
style=
"padding-bottom: 24px;"
>
<button
type=
"button"
id=
"fat-btn"
data-loading-text=
"loading..."
class=
"btn btn-primary"
>
Loading state
...
...
@@ -1141,14 +1141,14 @@ $('#my-alert').bind('closed', function () {
<pre
class=
"prettyprint linenums"
>
<
button type="button" class="btn btn-primary" data-loading-text="Loading..."
>
Loading state
<
/button
>
</pre>
<h4>
Single toggle
</h4>
<p>
Add
data-toggle="button"
to activate toggling on a single button.
</p>
<p>
Add
<code>
data-toggle="button"
</code>
to activate toggling on a single button.
</p>
<div
class=
"bs-docs-example"
style=
"padding-bottom: 24px;"
>
<button
type=
"button"
class=
"btn btn-primary"
data-toggle=
"button"
>
Single Toggle
</button>
</div>
<pre
class=
"prettyprint linenums"
>
<
button type="button" class="btn btn-primary" data-toggle="button"
>
Single Toggle
<
/button
>
</pre>
<h4>
Checkbox
</h4>
<p>
Add
data-toggle="buttons-checkbox"
for checkbox style toggling on btn-group.
</p>
<p>
Add
<code>
data-toggle="buttons-checkbox"
</code>
for checkbox style toggling on btn-group.
</p>
<div
class=
"bs-docs-example"
style=
"padding-bottom: 24px;"
>
<div
class=
"btn-group"
data-toggle=
"buttons-checkbox"
>
<button
type=
"button"
class=
"btn btn-primary"
>
Left
</button>
...
...
@@ -1165,7 +1165,7 @@ $('#my-alert').bind('closed', function () {
</pre>
<h4>
Radio
</h4>
<p>
Add
data-toggle="buttons-radio"
for radio style toggling on btn-group.
</p>
<p>
Add
<code>
data-toggle="buttons-radio"
</code>
for radio style toggling on btn-group.
</p>
<div
class=
"bs-docs-example"
style=
"padding-bottom: 24px;"
>
<div
class=
"btn-group"
data-toggle=
"buttons-radio"
>
<button
type=
"button"
class=
"btn btn-primary"
>
Left
</button>
...
...
docs/templates/pages/javascript.mustache
View file @
b9292ff9
...
...
@@ -1062,7 +1062,7 @@ $('#my-alert').bind('closed', function () {
<p>
{{
_i
}}
Do more with buttons. Control button states or create groups of buttons for more components like toolbars.
{{/
i
}}
</p>
<h4>
{{
_i
}}
Stateful
{{/
i
}}
</h4>
<p>
{{
_i
}}
Add
data-loading-text="Loading..."
to use a loading state on a button.
{{/
i
}}
</p>
<p>
{{
_i
}}
Add
<code>
data-loading-text="Loading..."
</code>
to use a loading state on a button.
{{/
i
}}
</p>
<div
class=
"bs-docs-example"
style=
"padding-bottom: 24px;"
>
<button
type=
"button"
id=
"fat-btn"
data-loading-text=
"loading..."
class=
"btn btn-primary"
>
{{
_i
}}
Loading state
{{/
i
}}
...
...
@@ -1071,14 +1071,14 @@ $('#my-alert').bind('closed', function () {
<pre
class=
"prettyprint linenums"
>
<
button type="button" class="btn btn-primary" data-loading-text="Loading..."
>
Loading state
<
/button
>
</pre>
<h4>
{{
_i
}}
Single toggle
{{/
i
}}
</h4>
<p>
{{
_i
}}
Add
data-toggle="button"
to activate toggling on a single button.
{{/
i
}}
</p>
<p>
{{
_i
}}
Add
<code>
data-toggle="button"
</code>
to activate toggling on a single button.
{{/
i
}}
</p>
<div
class=
"bs-docs-example"
style=
"padding-bottom: 24px;"
>
<button
type=
"button"
class=
"btn btn-primary"
data-toggle=
"button"
>
{{
_i
}}
Single Toggle
{{/
i
}}
</button>
</div>
{{! /example }}
<pre
class=
"prettyprint linenums"
>
<
button type="button" class="btn btn-primary" data-toggle="button"
>
Single Toggle
<
/button
>
</pre>
<h4>
{{
_i
}}
Checkbox
{{/
i
}}
</h4>
<p>
{{
_i
}}
Add
data-toggle="buttons-checkbox"
for checkbox style toggling on btn-group.
{{/
i
}}
</p>
<p>
{{
_i
}}
Add
<code>
data-toggle="buttons-checkbox"
</code>
for checkbox style toggling on btn-group.
{{/
i
}}
</p>
<div
class=
"bs-docs-example"
style=
"padding-bottom: 24px;"
>
<div
class=
"btn-group"
data-toggle=
"buttons-checkbox"
>
<button
type=
"button"
class=
"btn btn-primary"
>
{{
_i
}}
Left
{{/
i
}}
</button>
...
...
@@ -1095,7 +1095,7 @@ $('#my-alert').bind('closed', function () {
</pre>
<h4>
{{
_i
}}
Radio
{{/
i
}}
</h4>
<p>
{{
_i
}}
Add
data-toggle="buttons-radio"
for radio style toggling on btn-group.
{{/
i
}}
</p>
<p>
{{
_i
}}
Add
<code>
data-toggle="buttons-radio"
</code>
for radio style toggling on btn-group.
{{/
i
}}
</p>
<div
class=
"bs-docs-example"
style=
"padding-bottom: 24px;"
>
<div
class=
"btn-group"
data-toggle=
"buttons-radio"
>
<button
type=
"button"
class=
"btn btn-primary"
>
{{
_i
}}
Left
{{/
i
}}
</button>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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