sets a calendar's position when it's attached to input
pos | string | the position of a calendar when it's attached to input |
myCalendar.setPosition("right"); // "bottom"
when a calendar is attached to a custom parent, you can pass x and y coordinates directly
// sets left and top offsets of a calendar
myCalendar.setPosition(10, 20);
// sets just left offset of a calendar
myCalendar.setPosition(10);
// sets just top offset of a calendar
myCalendar.setPosition(null, 20);
Back to top