Skip to content

Commit fbcf7e2

Browse files
author
Joey Arnold
committed
button demo
1 parent 567e786 commit fbcf7e2

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

both/router.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Router.map(function() {
1515
this.route('index', {path: '/'});
1616
this.route('actionSheet');
1717
this.route('backdrop');
18+
this.route('buttons');
1819
this.route('content');
1920
this.route('forms', {
2021
data: function () {

client/templates/buttons/buttons.html

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<template name="buttons">
2+
{{#contentFor "headerTitle"}}
3+
<h1 class="title">Content</h1>
4+
{{/contentFor}}
5+
6+
{{#ionView}}
7+
{{#ionContent}}
8+
<div class="padding">
9+
<button class="button">Default</button>
10+
<br><br>
11+
<button class="button button-light">button-light</button>
12+
<br><br>
13+
<button class="button button-stable">button-stable</button>
14+
<br><br>
15+
<button class="button button-positive">button-positive</button>
16+
<br><br>
17+
<button class="button button-calm">button-calm</button>
18+
<br><br>
19+
<button class="button button-balanced">button-balanced</button>
20+
<br><br>
21+
<button class="button button-energized">button-energized</button>
22+
<br><br>
23+
<button class="button button-assertive">button-assertive</button>
24+
<br><br>
25+
<button class="button button-royal">button-royal</button>
26+
<br><br>
27+
<button class="button button-dark">button-dark</button>
28+
</div>
29+
{{/ionContent}}
30+
{{/ionView}}
31+
</template>

0 commit comments

Comments
 (0)