Added toast class property to toast options/config object per commit … (#11132)

* Added toast class property to toast options/config object per commit f72c7816. Added id property to panel config per commit d230aec.

* Added onClose() callback to sidenav object per commit 1f01d264.
This commit is contained in:
Alex Staroselsky
2016-09-09 23:39:59 +09:00
committed by Masahiro Wakame
parent fc1b3e11df
commit f665c7f523
2 changed files with 18 additions and 0 deletions
+3
View File
@@ -132,6 +132,7 @@ declare namespace angular.material {
close(): angular.IPromise<void>;
isOpen(): boolean;
isLockedOpen(): boolean;
onClose(onClose: Function): void;
}
interface ISidenavService {
@@ -162,6 +163,7 @@ declare namespace angular.material {
preserveScope?: boolean; // default: false
hideDelay?: number; // default (ms): 3000
position?: string; // any combination of 'bottom'/'left'/'top'/'right'/'fit'; default: 'bottom left'
toastClass?: string;
controller?: string|Function;
locals?: {[index: string]: any};
bindToController?: boolean; // default: false
@@ -291,6 +293,7 @@ declare namespace angular.material {
}
interface IPanelConfig {
id?: string;
template?: string;
templateUrl?: string;
controller?: string|Function;