16
Views
1
Comments
[Noty Feedback Messages] check if Noty.button is clicked in consumer module
noty
Web icon
Forge asset by João Barata
Application Type
Traditional Web

Hi 

I amm using the 'Noty Feedback Messages' component to display several alert messages on the screen.

As part of our implementation, we must include a 'View details' button withthis feedback message. 

I could accomplish this using the code below:

var n = new Noty({

  text: $parameters.Message,

  type : $parameters.AlertType,

  theme : 'sunset',

  layout : 'top',

  closeWith : ['button'],

  buttons: [

    Noty.button('View Details', 'btncommon btn-secondary btn-regular', function () {

        alert(n.id);

        console.log('button 2 clicked');

        n.close();

    })

  ]

});

n.show();


Now, because this implementation is done in a client action of the producer module, I am unable to handle it in the consumer module if the user has clicked the 'View Details' button.

Is there any way to achieve it? 

2024-12-02 12-15-17
Aravind EONE

Hi Vrushali Punekar,

Is your problem resolved? can we have the OML please if not?


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.