-
Notifications
You must be signed in to change notification settings - Fork 189
How to trigger in-build callbacks? #58
Comments
also the get_date function should return the origital Date object as second argument, as it is in callbacks. |
Which callbacks do you need? (try to inspect
You can use
Which callbacks do you mean? |
initialize code : this.$el.find('.switch_type .period').pickmeup({
flat : true,
mode : 'range',
calendars : 3,
format : 'Y-m-d',
separator : '‐',
max : new Date(),
min : max_date, //you see - I can't do new Date().addYear(-10) because it will be undefined
change : this.changeDate.bind(this),
locale : locale
}); I want to manually trigger that change callback WITH all data included. |
Try |
For example - I have multiple calendars, one visible at a time and I want to show only one field with inputs.
This is crucial because I have different callbacks for days and month selection.
The text was updated successfully, but these errors were encountered: