carbon-components-angular
Version:
Next generation components
24 lines (23 loc) • 709 B
TypeScript
import { OnInit } from "@angular/core";
import { ToastContent } from "./banner-content.interface";
import { Banner } from "./banner.component";
/**
* Deprecated in favour of `ToastNotification` (to be removed in v3.0).
* Banner messages are displayed toward the top of the UI and do not interrupt user’s work.
*
* @export
* @class Banner
* @deprecated
*/
export declare class Toast extends Banner implements OnInit {
/**
* Can have `type`, `title`, `subtitle`, and `caption` members.
*
* `type` can be one of `"info"`, `"warning"`, `"danger"`, `"success"`
*
* `message` is message for banner to display
*
*/
bannerObj: ToastContent;
ngOnInit(): void;
}