FIMViz.jsAPI
    Preparing search index...

    Function createToast

    • Create a toast container and a show() to push messages into it.

      Parameters

      • Optionalroot: Element = null

        where to mount (default document.body)

      • Optionalopts: { corner?: "br" | "tr" | "bl" | "tl" } = {}

      Returns {
          clear: () => void;
          destroy: () => void;
          el: Element;
          show: (msg: string, o?: { level?: string; timeout?: number }) => Element;
      }