mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 04:14:21 +08:00
Block for buttons
This commit is contained in:
@ -6,9 +6,9 @@
|
|||||||
<ion-input>
|
<ion-input>
|
||||||
<input control="password" type="email" placeholder="Your password">
|
<input control="password" type="email" placeholder="Your password">
|
||||||
</ion-input>
|
</ion-input>
|
||||||
<button ion-button stable type="submit">Log in</button>
|
<button ion-button stable block type="submit">Log in</button>
|
||||||
<div>
|
<div>
|
||||||
Or <button ion-button primary (click)="doSignup()">Create an account</button>
|
<button ion-button primary block (click)="doSignup()">Create an account</button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</ion-view>
|
</ion-view>
|
||||||
|
@ -13,5 +13,5 @@ export class Button {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
new IonicComponent(Button, {
|
new IonicComponent(Button, {
|
||||||
propClasses: ['primary', 'secondary', 'danger', 'light', 'stable', 'dark']
|
propClasses: ['primary', 'secondary', 'danger', 'light', 'stable', 'dark', 'block']
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user