Added content param for IToastService.showSimple()

This param was missing in the interface, but [according to the doc](https://github.com/angular/material/blob/master/src/components/toast/toast.js#L49) without it, it's rather useless.
This commit is contained in:
Alwin Schoemaker
2015-07-16 12:00:21 +02:00
parent 69303fd9e5
commit d79fffd222
+1 -1
View File
@@ -144,7 +144,7 @@ declare module angular.material {
interface IToastService {
show(optionsOrPreset: IToastOptions|IToastPreset<any>): angular.IPromise<any>;
showSimple(): angular.IPromise<any>;
showSimple(content: string): angular.IPromise<any>;
simple(): ISimpleToastPreset;
build(): IToastPreset<any>;
updateContent(): void;