Update index.js
Update index.js

renamed the methods, allowed the .action argument to be an options object, wrapped in try/catch
bradmartin/nativescript-snackbar,bradmartin/nativescript-snackbar,bradmartin/nativescript-snackbar,bradmartin/nativescript-snackbar,bradmartin/nativescript-snackbar