The api property (number) determines which event handling API version the DayPilot.Navigator date picker uses.
Declaration
DayPilot.Navigator.apiNotes
api=1
legacy version, used by ASP.NET WebForms and ASP.NET MVC versions
api=2
new API used by the JavaScript and Java versions
event handlers have a single argument (
args) which holds the properties/methods
DayPilot