Code Monkey home page Code Monkey logo

Comments (15)

fidoboy avatar fidoboy commented on August 15, 2024

👍 +1

from toast-phonegap-plugin.

MikeBazhenov avatar MikeBazhenov commented on August 15, 2024

+1

from toast-phonegap-plugin.

leandro-shifteight avatar leandro-shifteight commented on August 15, 2024

Could be awesome to have a click handler for the Toast!

from toast-phonegap-plugin.

jkuri avatar jkuri commented on August 15, 2024

+1

from toast-phonegap-plugin.

hirbod avatar hirbod commented on August 15, 2024

Any chance to get this someday? One year passed...

from toast-phonegap-plugin.

EddyVerbruggen avatar EddyVerbruggen commented on August 15, 2024

2.3.0 published, with this new feature: https://github.com/EddyVerbruggen/Toast-PhoneGap-Plugin#receiving-a-callback-when-a-toast-is-tapped, let me know what you think 👍

from toast-phonegap-plugin.

hirbod avatar hirbod commented on August 15, 2024

Well suddenly it was done :D. Thanks. There is really one thing left from being perfect. The ability to store data (json object) on that toast. Now I have a click event, but I guess it is useless when you don't know what to do with it. I want to show a toast on a socket message, on click, navigate my app somewhere. But to make a appropiate click (eg redirecting to a specific chat room), there has to be some functionality. Of course I could store something in local storage or rootscope before, but it would be nice if there could be something inside of the callback, even when it's just the same passed data

from toast-phonegap-plugin.

EddyVerbruggen avatar EddyVerbruggen commented on August 15, 2024

In 2.3.1 you can pass in a data JSON object which you'll get back in the success callback. Let me know if that works for you.

from toast-phonegap-plugin.

hirbod avatar hirbod commented on August 15, 2024

Looked over the code, seems promising. I will test it later that day or tomorrow. Thank you so much Eddy. Do you have PayPal? Would like to spend you a beer.

from toast-phonegap-plugin.

EddyVerbruggen avatar EddyVerbruggen commented on August 15, 2024

That's awesome! My paypal is my gmail: eddyverbruggen@..
Thx!

from toast-phonegap-plugin.

hirbod avatar hirbod commented on August 15, 2024
  • gmail.com or googlemail.com ?

from toast-phonegap-plugin.

EddyVerbruggen avatar EddyVerbruggen commented on August 15, 2024

gmail.com, sorry

from toast-phonegap-plugin.

hirbod avatar hirbod commented on August 15, 2024

Beer is on it's way.

from toast-phonegap-plugin.

EddyVerbruggen avatar EddyVerbruggen commented on August 15, 2024

Much appreciated

from toast-phonegap-plugin.

hirbod avatar hirbod commented on August 15, 2024

🍺

from toast-phonegap-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.