Angular
RecipeThere is no Angular package export. Import the core API and call it from components or services. For a live demo and install snippet, see the Angular landing.
import { toast } from "alert-notify";
toast.config({ position: "top-right", richColors: true });
toast.success("Saved");- Optional: call
toast.configonce inAppComponent.ngOnInit. - Custom icons: pass an
HTMLElementor trusted SVG string. There is no Angular component icon helper. - Landing page: /angular