We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2922d5b commit 498734eCopy full SHA for 498734e
README.md
@@ -146,7 +146,7 @@ While passing in a callback to the constructor is the easiest way to listen for
146
147
````
148
$('#daterange').daterangepicker();
149
-$('#daterange').on('apply', function(ev, picker) {
+$('#daterange').on('apply.daterangepicker', function(ev, picker) {
150
console.log(picker.startDate.format('YYYY-MM-DD'));
151
console.log(picker.endDate.format('YYYY-MM-DD'));
152
});
0 commit comments