ToastShowOptions
October 7, 2023InterfaceToastShowOptionsLess than 1 minute
As the parameter interface of ToastPlugin.show() method;
Property
text
message text content;
The attribute value is a string;duration
the duration of the message;
The property value is a ToastDuration objectposition
where the message is displayed;
The attribute value is a string;
The legal value range is ["top" , "center" , "bottom"]
On Android 12 and higher, all toasts are displayed at the bottom
Method
- none
Event
- none
Platform Compatibility
Property/Method/Event | Android | IOS | Desktop-Dev | Desktop |
---|---|---|---|---|
text | ✅ | ✅ | ✅ | X |
duration | ✅ | ✅ | ✅ | X |
position | ✅ | ✅ | ✅ | X |
Related Links
Powered by Waline v2.15.7