When calendar attached to input - define where it will appear, “right” or “bottom” (default)
When calendar attached to custom parent - you also able to pass x and y coordinates directly
Parameters:
myCalendar.setPosition("right");
Description:
There are 2 ways to call the method:
// common way myCalendar.setPosition("right"); // positioning // sets left and top absolute offsets of calendar myCalendar.setPosition(10, 20); // sets just left absolute offset of calendar myCalendar.setPosition(10); // sets just top absolute offset of calendar myCalendar.setPosition(null, 20);