mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 19:57:22 +08:00
Block for buttons
This commit is contained in:
@ -6,9 +6,9 @@
|
||||
<ion-input>
|
||||
<input control="password" type="email" placeholder="Your password">
|
||||
</ion-input>
|
||||
<button ion-button stable type="submit">Log in</button>
|
||||
<button ion-button stable block type="submit">Log in</button>
|
||||
<div>
|
||||
Or <button ion-button primary (click)="doSignup()">Create an account</button>
|
||||
<button ion-button primary block (click)="doSignup()">Create an account</button>
|
||||
</div>
|
||||
</form>
|
||||
</ion-view>
|
||||
|
@ -13,5 +13,5 @@ export class 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