mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
docs(demos): update button demo content
This commit is contained in:
@ -93,3 +93,6 @@ scroll-content {
|
|||||||
color: #757575;
|
color: #757575;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#demo-hammer {
|
||||||
|
padding: 0 0.4em;
|
||||||
|
}
|
||||||
|
@ -3,6 +3,10 @@
|
|||||||
</ion-navbar>
|
</ion-navbar>
|
||||||
|
|
||||||
<ion-content padding class="has-header components-demo">
|
<ion-content padding class="has-header components-demo">
|
||||||
|
<p>
|
||||||
|
<button light block>Light</button>
|
||||||
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<button block>Default</button>
|
<button block>Default</button>
|
||||||
</p>
|
</p>
|
||||||
@ -15,10 +19,6 @@
|
|||||||
<button danger block>Danger</button>
|
<button danger block>Danger</button>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
|
||||||
<button light block>Light</button>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<button dark block>Dark</button>
|
<button dark block>Dark</button>
|
||||||
</p>
|
</p>
|
||||||
|
@ -3,6 +3,10 @@
|
|||||||
</ion-navbar>
|
</ion-navbar>
|
||||||
|
|
||||||
<ion-content padding class="has-header components-demo">
|
<ion-content padding class="has-header components-demo">
|
||||||
|
<p>
|
||||||
|
<button light>Light</button>
|
||||||
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<button>Default</button>
|
<button>Default</button>
|
||||||
</p>
|
</p>
|
||||||
@ -15,10 +19,6 @@
|
|||||||
<button danger>Danger</button>
|
<button danger>Danger</button>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
|
||||||
<button light>Light</button>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<button dark>Dark</button>
|
<button dark>Dark</button>
|
||||||
</p>
|
</p>
|
||||||
|
@ -1,12 +1,21 @@
|
|||||||
<ion-navbar *navbar>
|
<ion-navbar *navbar>
|
||||||
<ion-title>Floating Action Buttons</ion-title>
|
<ion-title>FAB</ion-title>
|
||||||
</ion-navbar>
|
</ion-navbar>
|
||||||
|
|
||||||
<ion-content class="has-header components-demo">
|
<ion-content class="has-header components-demo">
|
||||||
<p>
|
<p>
|
||||||
<button fab fab-top fab-right>
|
<button fab primary fab-top fab-left>
|
||||||
<icon add></icon>
|
<icon add></icon>
|
||||||
</button>
|
</button>
|
||||||
|
<button fab secondary fab-top fab-center>
|
||||||
|
<icon is-active="false" compass></icon>
|
||||||
|
</button>
|
||||||
|
<button fab danger fab-top fab-right>
|
||||||
|
<icon is-active="false" mic></icon>
|
||||||
|
</button>
|
||||||
|
<button fab dark fab-bottom fab-center>
|
||||||
|
<icon is-active="false" heart></icon>
|
||||||
|
</button>
|
||||||
</p>
|
</p>
|
||||||
</ion-content>
|
</ion-content>
|
||||||
|
|
||||||
|
@ -3,6 +3,10 @@
|
|||||||
</ion-navbar>
|
</ion-navbar>
|
||||||
|
|
||||||
<ion-content class="has-header components-demo">
|
<ion-content class="has-header components-demo">
|
||||||
|
|
||||||
|
<p>
|
||||||
|
<button light full>Light</button>
|
||||||
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<button full>Default</button>
|
<button full>Default</button>
|
||||||
</p>
|
</p>
|
||||||
@ -14,11 +18,6 @@
|
|||||||
<p>
|
<p>
|
||||||
<button danger full>Danger</button>
|
<button danger full>Danger</button>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
|
||||||
<button light full>Light</button>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<button dark full>Dark</button>
|
<button dark full>Dark</button>
|
||||||
</p>
|
</p>
|
||||||
|
@ -4,11 +4,40 @@
|
|||||||
</ion-navbar>
|
</ion-navbar>
|
||||||
|
|
||||||
<ion-content padding class="has-header components-demo">
|
<ion-content padding class="has-header components-demo">
|
||||||
|
|
||||||
|
<p>
|
||||||
|
<button light>
|
||||||
|
<icon arrow-back></icon>
|
||||||
|
Back
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<button light>
|
||||||
|
<icon arrow-down></icon>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<button light>
|
||||||
|
<icon arrow-up></icon>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<button light>
|
||||||
|
Next
|
||||||
|
<icon arrow-forward></icon>
|
||||||
|
</button>
|
||||||
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<button>
|
<button>
|
||||||
<icon home></icon>
|
<icon home></icon>
|
||||||
Home
|
Home
|
||||||
</button>
|
</button>
|
||||||
|
<button outline >
|
||||||
|
<icon briefcase is-active="false"></icon>
|
||||||
|
Work
|
||||||
|
</button>
|
||||||
|
<button clear>
|
||||||
|
<icon beer is-active="false"></icon>
|
||||||
|
Pub
|
||||||
|
</button>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
@ -16,24 +45,30 @@
|
|||||||
<icon people></icon>
|
<icon people></icon>
|
||||||
Friends
|
Friends
|
||||||
</button>
|
</button>
|
||||||
|
<button secondary outline>
|
||||||
|
<icon paw is-active="false"></icon>
|
||||||
|
Best Friend
|
||||||
|
</button>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<button danger>
|
<button danger>
|
||||||
<icon close></icon>
|
<icon close></icon>
|
||||||
</button>
|
</button>
|
||||||
</p>
|
<button danger outline>
|
||||||
|
<icon remove-circle is-active="false"></icon>
|
||||||
<p>
|
</button>
|
||||||
<button light>
|
<button danger clear>
|
||||||
<icon arrow-back></icon>
|
<icon trash is-active="false"></icon>
|
||||||
Back
|
|
||||||
</button>
|
</button>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<button dark>
|
<button dark round>
|
||||||
<icon hammer></icon>
|
<icon hammer id="demo-hammer"></icon>
|
||||||
|
</button>
|
||||||
|
<button dark clear>
|
||||||
|
<icon construct is-active="false"></icon>
|
||||||
</button>
|
</button>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
@ -3,6 +3,11 @@
|
|||||||
</ion-navbar>
|
</ion-navbar>
|
||||||
|
|
||||||
<ion-content padding class="has-header components-demo">
|
<ion-content padding class="has-header components-demo">
|
||||||
|
|
||||||
|
<p>
|
||||||
|
<button light outline>Light</button>
|
||||||
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<button outline>Default</button>
|
<button outline>Default</button>
|
||||||
</p>
|
</p>
|
||||||
@ -15,10 +20,6 @@
|
|||||||
<button danger outline>Danger</button>
|
<button danger outline>Danger</button>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
|
||||||
<button light outline>Light</button>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<button dark outline>Dark</button>
|
<button dark outline>Dark</button>
|
||||||
</p>
|
</p>
|
||||||
|
@ -3,6 +3,9 @@
|
|||||||
</ion-navbar>
|
</ion-navbar>
|
||||||
|
|
||||||
<ion-content padding class="has-header components-demo">
|
<ion-content padding class="has-header components-demo">
|
||||||
|
<p>
|
||||||
|
<button light round>Light</button>
|
||||||
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<button round>Default</button>
|
<button round>Default</button>
|
||||||
</p>
|
</p>
|
||||||
@ -15,10 +18,6 @@
|
|||||||
<button danger round>Danger</button>
|
<button danger round>Danger</button>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
|
||||||
<button light round>Light</button>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<button dark round>Dark</button>
|
<button dark round>Dark</button>
|
||||||
</p>
|
</p>
|
||||||
|
@ -3,10 +3,12 @@
|
|||||||
</ion-navbar>
|
</ion-navbar>
|
||||||
|
|
||||||
<ion-content padding class="has-header components-demo">
|
<ion-content padding class="has-header components-demo">
|
||||||
|
<p>
|
||||||
|
<button light large>Light</button>
|
||||||
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<button small>Default</button>
|
<button small>Default</button>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<button secondary small>Secondary</button>
|
<button secondary small>Secondary</button>
|
||||||
</p>
|
</p>
|
||||||
@ -14,11 +16,6 @@
|
|||||||
<p>
|
<p>
|
||||||
<button danger small>Danger</button>
|
<button danger small>Danger</button>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
|
||||||
<button light large>Light</button>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<button dark large>Dark</button>
|
<button dark large>Dark</button>
|
||||||
</p>
|
</p>
|
||||||
|
@ -13,7 +13,7 @@ class TabOneCtrl {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Page({
|
@Page({
|
||||||
templateUrl: 'tabs.html'
|
templateUrl: 'tabs/tabs.html'
|
||||||
})
|
})
|
||||||
export class TabsPage {
|
export class TabsPage {
|
||||||
constructor(nav: NavController, params: NavParams) {
|
constructor(nav: NavController, params: NavParams) {
|
||||||
|
Reference in New Issue
Block a user