as shown in the figure, how to click on the answer and automatically slide left to switch to the next question. Angular4, is currently used in the project. Can ionic achieve the above dynamic effect?
how to implement
as shown in the figure, how to click on the answer and automatically slide left to switch to the next question. Angular4, is currently used in the project. Can ionic achieve the above dynamic effect?
how to implement
bind a change event to select. When clicked, call push () in NavController to proceed to the next page
constructor(
public navCtrl: NavController
) {}
public change() {
this.navCtrl.push(nextPage)
}
as for animation, it seems that the push () method is left-hand animation by default.
if you want to customize, see NavController
here.
Previous: [solved] how to select gitbash under windows
Next: Ask what this code means
< html > <ion-list> <ion-item *ngFor= let i of list >< ion-item> < ion-list> < html > how do I listen to whether ngFof has finished traversing this array? ...
The code implementation is simple enough to display a list of products. Product list page Page: <ion-list> <ion-item *ngFor="let item of orderProductsList"> <order-detail-product [product]="item">< or...
recently started using ionic3 I m a little confused about routing home goods home goods because the home relationship will still be at the top of goods-detail, now I want to take out the goods-detail alone http: loca...
the vender. Js generated by build in the company s project is more than one trillion. I want to configure a webpack zip file by myself ...
this.http.get (this.AppConfig.url + url, {) params:params, headers: new HttpHeaders({ token :this.token}) }).subscribe(res => { networkheader:new nodejs koa2 app.use(cors()); ...
1. Knowing the start time and the total number of seconds, we have calculated the countdown of hours, minutes and seconds. TS; 2. The output is 24 br 24 14 50, and what I want to achieve is a countdown to it; countdown <p class="groupTe...