mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
@@ -4,4 +4,10 @@ import {App} from 'ionic-angular';
|
||||
@App({
|
||||
templateUrl: 'main.html'
|
||||
})
|
||||
class E2EApp {}
|
||||
class E2EApp {
|
||||
blockButton = true;
|
||||
|
||||
toggleBlock() {
|
||||
this.blockButton = !this.blockButton;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -35,4 +35,8 @@
|
||||
<button block round outline>button[block][round][outline]</button>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<button [block]="blockButton" (click)="toggleBlock()">Toggle Block</button>
|
||||
</p>
|
||||
|
||||
</ion-content>
|
||||
|
||||
Reference in New Issue
Block a user