Skip to content
This repository has been archived by the owner on Jul 13, 2019. It is now read-only.

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
bradmartin committed Aug 27, 2017
1 parent 2bfd7f3 commit 16b0247
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ let snackbar = new SnackBar();

/// Show a simple snackbar with no actions (Except close on iOS, limitation of the Cocoapod)
public showSimple() {
snackbar.simple('Snackbar').then((args) => {
snackbar.simple('Snackbar', 'red', '#fff').then((args) => {
this.set('jsonResult', JSON.stringify(args));
})
}
Expand Down Expand Up @@ -58,8 +58,8 @@ public showAction() {

### API

Show a simple SnackBar
- **simple(snackText: string): Promise<any>**
Show a simple SnackBar (color args will only work on Android)
- **simple(snackText: string, textColor?: string, backgroundColor?: string): Promise<any>**

Show a SnackBar with Action.
- **action(options: SnackBarOptions): Promise<any>**
Expand Down

0 comments on commit 16b0247

Please sign in to comment.