Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

Commit

Permalink
chore(docs): better plunker links
Browse files Browse the repository at this point in the history
  • Loading branch information
mgcrea committed Jan 10, 2014
1 parent fd486c9 commit c60c8e9
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion src/alert/docs/alert.demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ <h4>Plugin dependency</h4>
<p>Alerts require the <a href="#modals">modal plugin</a> to be included.</p>
</div>

<h3>Live demo <a class="small edit-plunkr" data-module-name="mgcrea.ngStrapDocs" data-content-html-url="alert/docs/alert.demo.html" data-content-js-url="alert/docs/alert.demo.js" ng-plunkr data-title="edit in plunker" data-placement="right" bs-tooltip><i class="fa fa-edit"></i></a></h3>
<h3>Live demo <a class="small edit-plunkr" data-module-name="mgcrea.ngStrapDocs" data-content-html-url="alert/docs/alert.demo.html" data-content-js-url="alert/docs/alert.demo.js" ng-plunkr data-title="edit in plunker" data-placement="right" bs-tooltip>clog.info</a></h3>
<pre class="bs-example-scope">$scope.alert = {{alert | json}};</pre>
<div class="bs-example" style="padding-bottom: 24px;" append-source>

Expand Down
2 changes: 1 addition & 1 deletion src/aside/docs/aside.demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ <h4>Plugin dependency</h4>
<p>Asides require the <a href="#modals">modal plugin</a> to be included.</p>
</div>

<h3>Live demo <a class="small edit-plunkr" data-module-name="mgcrea.ngStrapDocs" data-content-html-url="aside/docs/aside.demo.html" data-content-js-url="aside/docs/aside.demo.js" ng-plunkr data-title="edit in plunker" data-placement="right" bs-tooltip><i class="fa fa-edit"></i></a></h3>
<h3>Live demo <a class="small edit-plunkr" data-module-name="mgcrea.ngStrapDocs" data-content-html-url="aside/docs/aside.demo.html" data-content-js-url="aside/docs/aside.demo.js" ng-plunkr data-title="edit in plunker" data-placement="right" bs-tooltip>clog.info</a></h3>
<pre class="bs-example-scope">$scope.aside = {{aside | json}};</pre>
<div class="bs-example" style="padding-bottom: 24px;" append-source>

Expand Down
2 changes: 1 addition & 1 deletion src/button/docs/button.demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ <h4>Group directives are also available as shortcuts</h4>
<p>Use <code>bs-checkbox-group</code> and <code>bs-radio-group</code> to easily setup the proper markup at compile time.</p>
</div>

<h3 id="buttons-usage">Live demo <a class="small edit-plunkr" data-module-name="mgcrea.ngStrapDocs" data-content-html-url="button/docs/button.demo.html" data-content-js-url="button/docs/button.demo.js" ng-plunkr data-title="edit in plunker" data-placement="right" bs-tooltip><i class="fa fa-edit"></i></a></h3>
<h3 id="buttons-usage">Live demo <a class="small edit-plunkr" data-module-name="mgcrea.ngStrapDocs" data-content-html-url="button/docs/button.demo.html" data-content-js-url="button/docs/button.demo.js" ng-plunkr data-title="edit in plunker" data-placement="right" bs-tooltip>clog.info</a></h3>

<pre class="bs-example-scope">$scope.button = {{button | json}};</pre>
<div class="bs-example" style="padding-bottom: 24px;" append-source>
Expand Down
16 changes: 8 additions & 8 deletions src/dropdown/docs/dropdown.demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ <h4>Plugin dependency</h4>
<p>Dropdowns require the <a href="#tooltips">tooltip plugin</a> to be included.</p>
</div>

<h3>Live demo <a class="small edit-plunkr" data-module-name="mgcrea.ngStrapDocs" data-content-html-url="dropdown/docs/dropdown.demo.html" data-content-js-url="dropdown/docs/dropdown.demo.js" ng-plunkr data-title="edit in plunker" data-placement="right" bs-tooltip><i class="fa fa-edit"></i></a></h3>
<h3>Live demo <a class="small edit-plunkr" data-module-name="mgcrea.ngStrapDocs" data-content-html-url="dropdown/docs/dropdown.demo.html" data-content-js-url="dropdown/docs/dropdown.demo.js" ng-plunkr data-title="edit in plunker" data-placement="right" bs-tooltip>clog.info</a></h3>
<pre class="bs-example-scope">$scope.dropdown = {{dropdown | json}};</pre>
<div class="bs-example" style="padding-bottom: 24px;" append-source>

Expand All @@ -28,7 +28,7 @@ <h3>Live demo <a class="small edit-plunkr" data-module-name="mgcrea.ngStrapDocs"

</div>

<h2 id="popovers-usage">Usage</h2>
<h2 id="dropdowns-usage">Usage</h2>
<p>Append a <code>bs-dropdown</code>attribute to any element to enable the directive.</p>
<div class="callout callout-info">
<h4>The module exposes a <code>$dropdown</code>service</h4>
Expand Down Expand Up @@ -70,14 +70,14 @@ <h4>This module supports exotic placement options!</h4>
<tr>
<td>placement</td>
<td>string</td>
<td>'right'</td>
<td>how to position the popover - top | bottom | left | right, or any combination like bottom-left.</td>
<td>'bottom-left'</td>
<td>how to position the dropdown - top | bottom | left | right, or any combination like bottom-left.</td>
</tr>
<tr>
<td>trigger</td>
<td>string</td>
<td>'click'</td>
<td>how popover is triggered - click | hover | focus | manual</td>
<td>how dropdown is triggered - click | hover | focus | manual</td>
</tr>
<tr>
<td>html</td>
Expand All @@ -90,7 +90,7 @@ <h4>This module supports exotic placement options!</h4>
<td>number | object</td>
<td>0</td>
<td>
<p>delay showing and hiding the popover (ms) - does not apply to manual trigger type</p>
<p>delay showing and hiding the dropdown (ms) - does not apply to manual trigger type</p>
<p>If a number is supplied, delay is applied to both hide/show</p>
<p>Object structure is:
<code>delay: { show: 500, hide: 100 }</code>
Expand All @@ -102,8 +102,8 @@ <h4>This module supports exotic placement options!</h4>
<td>string | false</td>
<td>false</td>
<td>
<p>Appends the popover to a specific element. Example:
<code>container: 'body'</code>. This option is particularly useful in that it allows you to position the popover in the flow of the document near the triggering element -&nbsp;which will prevent the popover from floating away from the triggering element during a window resize.</p>
<p>Appends the dropdown to a specific element. Example:
<code>container: 'body'</code>. This option is particularly useful in that it allows you to position the dropdown in the flow of the document near the triggering element -&nbsp;which will prevent the dropdown from floating away from the triggering element during a window resize.</p>
</td>
</tr>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion src/modal/docs/modal.demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ <h1 id="modals">Modals <a class="small" href="//github.com/mgcrea/angular-strap/
<h2 id="modals-examples">Examples</h2>
<p>Modals are streamlined, but flexible, dialog prompts with the minimum required functionality and smart defaults.</p>

<h3>Live demo <a class="small edit-plunkr" data-module-name="mgcrea.ngStrapDocs" data-content-html-url="modal/docs/modal.demo.html" data-content-js-url="modal/docs/modal.demo.js" ng-plunkr data-title="edit in plunker" data-placement="right" bs-tooltip><i class="fa fa-edit"></i></a></h3>
<h3>Live demo <a class="small edit-plunkr" data-module-name="mgcrea.ngStrapDocs" data-content-html-url="modal/docs/modal.demo.html" data-content-js-url="modal/docs/modal.demo.js" ng-plunkr data-title="edit in plunker" data-placement="right" bs-tooltip>clog.info</a></h3>
<pre class="bs-example-scope">$scope.modal = {{modal | json}};</pre>
<div class="bs-example" style="padding-bottom: 24px;" append-source>

Expand Down
2 changes: 1 addition & 1 deletion src/popover/docs/popover.demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ <h4>Plugin dependency</h4>
<p>Popovers require the <a href="#tooltips">tooltip plugin</a> to be included.</p>
</div>

<h3>Live demo <a class="small edit-plunkr" data-module-name="mgcrea.ngStrapDocs" data-content-html-url="popover/docs/popover.demo.html" data-content-js-url="popover/docs/popover.demo.js" ng-plunkr data-title="edit in plunker" data-placement="right" bs-tooltip><i class="fa fa-edit"></i></a></h3>
<h3>Live demo <a class="small edit-plunkr" data-module-name="mgcrea.ngStrapDocs" data-content-html-url="popover/docs/popover.demo.html" data-content-js-url="popover/docs/popover.demo.js" ng-plunkr data-title="edit in plunker" data-placement="right" bs-tooltip>clog.info</a></h3>
<div class="form-group hide">
<label>Title</label>
<input type="text" class="form-control" ng-model="popover.title" placeholder="Title">
Expand Down
2 changes: 1 addition & 1 deletion src/tab/docs/tab.demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ <h1 id="tabs">Tabs <a class="small" href="//github.com/mgcrea/angular-strap/blob
<h2 id="tabs-examples">Examples</h2>
<p>Add quick, dynamic tab functionality to transition through panes of local content.</p>

<h3>Live demo <a class="small edit-plunkr" data-module-name="mgcrea.ngStrapDocs" data-content-html-url="tab/docs/tab.demo.html" data-content-js-url="tab/docs/tab.demo.js" ng-plunkr data-title="edit in plunker" data-placement="right" bs-tooltip><i class="fa fa-edit"></i></a></h3>
<h3>Live demo <a class="small edit-plunkr" data-module-name="mgcrea.ngStrapDocs" data-content-html-url="tab/docs/tab.demo.html" data-content-js-url="tab/docs/tab.demo.js" ng-plunkr data-title="edit in plunker" data-placement="right" bs-tooltip>clog.info</a></h3>
<pre class="bs-example-scope">$scope.tabs = {{tabs | json}};</pre>
<div class="bs-example" append-source>
<!-- ngModel is optional -->
Expand Down
2 changes: 1 addition & 1 deletion src/tooltip/docs/tooltip.demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ <h1 id="tooltips">Tooltips <a class="small" href="//github.com/mgcrea/angular-st
<h2 id="tooltips-examples">Examples</h2>
<p>Add small overlays of content on hover, to any element for housing secondary information.</p>

<h3>Live demo <a class="small edit-plunkr" data-module-name="mgcrea.ngStrapDocs" data-content-html-url="tooltip/docs/tooltip.demo.html" data-content-js-url="tooltip/docs/tooltip.demo.js" ng-plunkr data-title="edit in plunker" data-placement="right" bs-tooltip><i class="fa fa-edit"></i></a></h3>
<h3>Live demo <a class="small edit-plunkr" data-module-name="mgcrea.ngStrapDocs" data-content-html-url="tooltip/docs/tooltip.demo.html" data-content-js-url="tooltip/docs/tooltip.demo.js" ng-plunkr data-title="edit in plunker" data-placement="right" bs-tooltip>clog.info</a></h3>
<div class="form-group hide">
<label>Title</label>
<input type="text" class="form-control" ng-model="tooltip.title" placeholder="Title">
Expand Down

0 comments on commit c60c8e9

Please sign in to comment.