Adds the onCloseSuccess config to MdPanel and reveals absPosition enum (#12171)

This commit is contained in:
Derek Louie
2016-10-28 22:43:38 +09:00
committed by Masahiro Wakame
parent 8a84aefa04
commit 5411d2e84a
+11
View File
@@ -339,6 +339,7 @@ declare namespace angular.material {
onRemoving?: Function;
onDomRemoved?: Function;
origin?: string|JQuery|Element;
onCloseSuccess?: ((panel: IPanelRef, closeReason: string) => any);
}
interface IPanelRef {
@@ -411,5 +412,15 @@ declare namespace angular.material {
interceptorTypes: {
CLOSE: string,
};
closeReasons: {
CLICK_OUTSIDE: string,
ESCAPE: string,
};
absPosition: {
TOP: string,
RIGHT: string,
BOTTOM: string,
LEFT: string,
};
}
}