qurami / toastino

Toast component by mkII

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

toastino

Toast component written in AngularDart. Provides clear and easy to use notifying system.

Usage

  1. Create a new ToastManagerComponent in your class in this way:

     ToastManagerComponent _toastManager;
    
      ToastinoExampleComponent(ComponentLoader toastComponentLoader, ViewContainerRef viewContainerRef){
           _toastManager = new ToastManagerComponent(toastComponentLoader, viewContainerRef);
      }
  2. Call ToastManager's newToast method to create a new toast.

     _toastManager.newToast(title, callback);

Libraries

  • toast_manager_component - The core of Toastino: it keeps trace of every toast created and manages their positioning and removal.

About

Toast component by mkII

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Dart 69.0%Language:CSS 19.6%Language:HTML 11.5%