0

I need to create a pop up, depending on the exact time and date, it is automatically activated, the idea is a javascript alert or similar, but at the moment of doing with my code, it does not, someone with some idea that can help me ... ???

This is my react code:

message_popup = result.map(item => {
        if ((moment(item.start).format(Config.DateTimeFormat)) == (moment().format(Config.DateTimeFormat)))
        {
            $condition_alert.alert({
                message: { text: 'Aw yeah, It works!' }
            }).show();
        }
    })  
Crispy Holiday
  • 412
  • 1
  • 9
  • 28

0 Answers0