Skip to main content

ToastShowOptions

BFChainOctober 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 object

  • position

    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/EventAndroidIOSDesktop-DevDesktop
textX
durationX
positionX

Interface

ToastPlugin.show()

ToastPlugin

Comments
  • Latest
  • Oldest
  • Hottest
Powered by Waline v2.15.7