Giter Club home page Giter Club logo

Comments (3)

b-mi avatar b-mi commented on May 20, 2024

Hi, I need something like this too, and I have in progress ability to add action buttons into message. Every message can have his own action buttons with custom click events. It looke like this:
https://i.imgur.com/3dTS030.png

from toastnotifications.

rafallopatka avatar rafallopatka commented on May 20, 2024

Hi,

By design you can achieve this creating custom notifications, where you can put anything you want, it's quite simple - it's a user control with your own xaml

Here are some details:
https://github.com/raflop/ToastNotifications/blob/master-v2/Docs/CustomNotificatios.md

@b-mi if you have some reusable solution already and if you would like to share it, we could create separate nuget fot it, just like ToastNotifications.Messages.

I don't wan't to put everything to single lib, because not everyone use all features, and its easier to maintain when it's small.

Best regards

from toastnotifications.

b-mi avatar b-mi commented on May 20, 2024

My solution for action buttons is based on MessageOptions extension. So, if MessageOptions property is not set, action button are not used. Then, I probably add functionality for MaxHeight of Message, and allow scroll content of message if it is large..... If someone will need it, I can share.

Best regards

from toastnotifications.

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.