You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 21, 2022. It is now read-only.
it would be nice to bind the events handlers to the control instance.
Currently if I have more than one picker on the page, there is no way to find out which triggered the actual event(unless they are constructed separately).
Adding a .bind(this) before each call will solve that.
The text was updated successfully, but these errors were encountered:
you can set extra function for input and send your parameter to other function , save parameter in localstorage and use this storage in clockpicker event
<input type="text" class="form-control clockpicker" value="12:25" onclick="SetId(12)">
function SetId(val) {
window.localStorage.setItem('temp',val);
}
donetext: 'Done',
afterHide: function () {
var t=window.localStorage.getItem('temp');
console.log(t);
}
sure, but that is a messy way to get the clock instance. Adding binding is a simple change, does not interfere with the interface that the control provides, and does not require inter-state cross-instance magic. I've actually edited the code for the system I am building, but need to go through the entire git cycle to submit it, and I simply don't have the time
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
it would be nice to bind the events handlers to the control instance.
Currently if I have more than one picker on the page, there is no way to find out which triggered the actual event(unless they are constructed separately).
Adding a .bind(this) before each call will solve that.
The text was updated successfully, but these errors were encountered: