Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit 4c32508

Browse files
committed
fix(toast): add message property to toast class
1 parent 9b52ebb commit 4c32508

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/toast.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ import {Component} from 'angular2/core';
88
})
99
export class Toast {
1010
visible = false;
11-
show(message){
11+
message: string;
12+
show(message:string){
1213
this.message = message;
1314
this.visible = true;
1415
setTimeout(() => {

0 commit comments

Comments
 (0)