-
Notifications
You must be signed in to change notification settings - Fork 28
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
A node should be able to have more than 1 refresh key #36
Comments
I don't mind this, but it would be kinda difficult to do while still using querySelectorAll
|
👍 for this. We could use this http://api.jquery.com/attribute-contains-selector/ |
humm, maybe not. Would not work for compound words. |
|
yeah it's looking more & more like we may need to use jQ |
In that case why couldn't we use a separate refresh key ?
Maybe I am missing something, but this does not seem necessary. On Thu, Nov 13, 2014 at 11:22 AM, Anthony Cameron [email protected]
|
Well, previous constraints on the page make it so I cannot change the refresh key on the container (cause then the container does not update when another operation's refresh fires) |
I propose that there's a good argument for having nodes with more than 1 key per
refresh
attribute.Simulation:
Say I want to refresh the innards of
div#bar
without refreshingdiv#container
, because perhaps the controls that I'm using to refreshdiv#bar
exist inside thediv#ohno
.However, I also want to refresh the
div#modal
element, but I can't, because due to previous constraints, it's already got the keyfoo
and refreshes along withdiv#container
div. Now, I can't refresh justrefresh=bar
anddiv#modal
without refreshingdiv#container
Allowing you to supply a list of refresh keys would be nice, so I could have my modal look like this:
and semantically this means that
div#modal
gets refreshed wheneverfoo
-like orbar
-like content changes.I'm pretty sure this is not how things behave now
cc @patrickdonovan @nsimmons @pushrax @celsodantas
The text was updated successfully, but these errors were encountered: