See how Capacitor fits into the entire Ionic Ecosystem ->

Toast

The Toast API provides a notification pop up for displaying important information to a user. Just like real toast!

PWA Notes

PWA Elements are required for Toast plugin to work.

Example

import { Plugins } from '@capacitor/core';
const { Toast } = Plugins;

async show() {
  await Toast.show({
    text: 'Hello!'
  });
}

API

Contributors

Back