Capacitor toast options

I’m migrating a cordova project fully over to Capacitor at the moment. Are they options with toast for buttons, and specifying how long the toast stays other than short or long, I can’t seem to find much outside of the official page.

Toast is an official Android component and toast plugin on Android just uses that component.

On iOS and web, that component is “emulated”, but it allows the just same options allowed by the Android component. So can’t be used as button, and duration can only be short or long.

If using ionic you can use ion-toast element, which allows to specify the duration and seems to have button support