search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Customer Event Add Modal

Related article: Angular 8 Appointment Calendar Component (TypeScript + PHP/MySQL)
Asked by Anonymous
4 years ago.

Can I call a custom ngbmodal component I've built when scheduling events? If so please can you provide some sample code.

Answer posted by Dan Letecky [DayPilot]
4 years ago.

When the users selects a time range the Scheduler fires the onTimeRangeSelected event:

    onTimeRangeSelected: args => {;

You can modify the event handler to use your own modal dialog.

The information about the selection is stored in the "args" object:

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.