The user is prompted
effect:
<toast hidden="{{onOff}}" duration="1000" bindchange="clickTap" >默认</toast>
btnclick:function(){
wx.showToast({ title:'成功', icon:'success', duration:2000 });
}
Specific parameters :
title: content prompts.
icon: icon, supports only success loading
duration: prompt delay time in milliseconds.
success: the success of the interface calls the callback function
fail: Interface call failed callback function.
complete: The main callback function interface.
effect:
<toast hidden="{{onOff}}" duration="1000" bindchange="clickTap" >默认</toast>
btnclick:function(){
wx.showToast({ title:'成功', icon:'success', duration:2000 });
}
Specific parameters :
title: content prompts.
icon: icon, supports only success loading
duration: prompt delay time in milliseconds.
success: the success of the interface calls the callback function
fail: Interface call failed callback function.
complete: The main callback function interface.