@material-git/all
Version:
Angular 2 Material
18 lines (17 loc) • 673 B
TypeScript
import { MdSnackBarRef } from './snack-bar-ref';
/**
* A component used to open as the default snack bar, matching material spec.
* This should only be used internally by the snack bar service.
*/
export declare class SimpleSnackBar {
/** The message to be shown in the snack bar. */
message: string;
/** The label for the button in the snack bar. */
action: string;
/** The instance of the component making up the content of the snack bar. */
snackBarRef: MdSnackBarRef<SimpleSnackBar>;
/** Dismisses the snack bar. */
dismiss(): void;
/** If the action button should be shown. */
readonly hasAction: boolean;
}