-
Notifications
You must be signed in to change notification settings - Fork 18
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
Depricate Switcher, Merge functionality to container. #70
Comments
@Jimgskoop I am starting to heavily consider folding Loader into Container as well. The reason is this. Lets say you have a carousel with 5 items. In this Carousel the first two items have static content and are stateful - SO, they should be managed by Container. But what if the remaining items have dynamic content? - This should obviously be managed by Loader. But, does this also mean that we have two separate client-side templates for Container and Loader? They would be virtually identical. I'd rather do something like this:
Where item has a config that looks something like:
We could do the same type of logic and still keep Loader and container separate but it gets nasty:
What if both url and content are defined? -- You'd have to introduce more logic into the template to make sure that's not the case. - This is better done in the control. |
That sounds OK to me. Container already knows how to source content My thinking was that any URL supercedes any local source if both are The only caveat is that you'll probably need distinct config params -Jim G On Apr 14, 2012, at 11:14 AM, Robert Martone <reply@reply.github.com
|
No description provided.
The text was updated successfully, but these errors were encountered: