-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Event on keydown #22
Comments
General approach of $.my is
So as for your case – put custom bindings into ui:{
'#ctrl':{
init: function ($ctrl) {
var that = this;
$ctrl.on ('somevent.my', function (evt){
// Set some filed in data to 1;
that.data.doc.otherField = 1;
// Trigger recalc on some other control
that.my.trigger ('#someOtherCtrl', 'recalc');
});
},
bind:'doc.field'
}
} Here your control reacts by default and puts/gets its value into Note, that syntax |
i wish i could say that was the solution but i didnt really understand it. It did cause me to rethink the manual trigger i put in. I had it looking to the parent b/c the parent had a "manifest ID" i think you call it. but looking at the init you are placing on #ID i re-triggered the keydown for it. so...
and it loads the form just like a click. |
First, awesome plugin, i love it.
I'm doing a dynamic form bind just like your Rockstar death demo.
so i see under
ui > "element" > manifest > ui
there isbut it doesnt help much for keyboard accessibility. is there something we can add their for keydown events ?
i even have a jquery .keypress function listening to the
list:
elements so if there is some external command to bind the form that way please let me know.Thanks!
The text was updated successfully, but these errors were encountered: