Recipe
Angular
Use the core API. No Angular module ships.
Live demo and install on this page. Step-by-step guide:Angular docs.
Recipe only. Import the core package. No Angular module or directive ships in alert-notify.
Try it
Same core toast API this stack uses.
Mode: success · position top-right · richColors on
Install snippet
import { toast } from "alert-notify";
toast.config({ position: "top-right", richColors: true });
toast.success("Saved");- Call toast.config() once during app init if you want shared defaults.
- Use the same methods as vanilla JS.