fix(toast): remove unneeded code

This commit is contained in:
mhartington
2017-08-18 18:26:16 -04:00
parent de5fc1f966
commit d13f87d075

View File

@ -136,19 +136,6 @@ export class Toast {
}
}
protected click(button: HTMLElement) {
console.log(button)
// let shouldDismiss = true;
// if (button.handler) {
// if (button.handler() === false) {
// shouldDismiss = false;
// }
// }
// if (shouldDismiss) {
// this.dismiss();
// }
}
protected render() {
let userCssClass = 'toast-content';
if (this.cssClass) {
@ -171,7 +158,6 @@ export class Toast {
);
}
wrapperClass(): CssClassMap {
let wrapperClass: string[] = !this.position
? ['toast-wrapper','toast-bottom']
@ -181,6 +167,7 @@ export class Toast {
return prevValue;
}, {});
}
}
export interface ToastOptions {