-
Notifications
You must be signed in to change notification settings - Fork 396
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
Search from keypath for event delegates? #250
Comments
It turns out I basically want #74, and this would be helpful for that purpose. Presently, I'm defining reusable "extensions" which use a particular keypath prefix for all gets/sets; e.g. for a reusable "description" component, one defines a partial which only uses (at the top level) restricted references, then a function which takes a It works well enough, except for event delegates in the extension partial. A hacky workaround is to expose the keypath prefix in the model ( |
I'm going to try reimplementing what I've done so far with components to see if this is all moot. |
Wondering if this is something that would be considered!
That is to say:
Assuming
xyz
is an object, right now that will attempt to resolve the mustache toxyz.thing
, and the event delegate will just bestuff
. It would be neat if we could check for a delegatexyz.stuff
first.I realise there's not exactly a hierarchy for event delegates as there is a hierarchical model, but it could be super useful. I'd be willing to cook up a patch if this is something you'd consider accepting.
The text was updated successfully, but these errors were encountered: