Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "components/toast.d"

Index

Interfaces

Variables

Variables

Const Toast

Toast: (props: IToastProps) => IToast
import { Components } from "gd-sprest-bs";

// Create a toast
let el = document.querySelector("#toast");
Components.Toast({
    el,
    headerText: "Header",
    body: "This is the body of the toast.",
    mutedText: "2 seconds ago",
    options: { autohide: false }
});

Type declaration

Generated using TypeDoc