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
1 month 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]
1 month 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:

New Reply
This reply is
Your name (optional):