bootstrap-year-calendar icon indicating copy to clipboard operation
bootstrap-year-calendar copied to clipboard

yearChanged event

Open deresegetachew opened this issue 6 years ago • 0 comments

year Changed event is not propagated outside like clickDay even though it is made available. to fix it replace setYears event trigger with var eventResult = this._triggerEvent('yearChanged', { element:$(this), currentYear: this.options.startYear, preventRendering: false }); the fix is using element:$(this) $(this) refers to the button we've clicked to run the function.

deresegetachew avatar May 22 '18 18:05 deresegetachew