Re : URGET : can.Component 2.0.4 broken in IE8
JustinI've tried to create an issue on GitHub but I think the example html is being rendered as html, I have no idea how to stop that as I've never created anything on Github before.There are times...
View ArticleRe : URGET : can.Component 2.0.4 broken in IE8
Can you please create a fiddle. Our apps work fine in IE. We 154 open issues (700 closed) where people have created fiddles and done a little extra work to make it easier for us to fix the problem....
View ArticleRe : Passing parent scope to components is undocumented
What about here: http://canjs.com/docs/can.Component.prototype.scope.htmlQuote from the site:parentScope {can.view.Scope}The scope the custom tag was found within. By default, any attribute's values...
View Articleattributes in camelCase don't work
When an attribute is written in camelCase and passed down from parent component to sub-component, the sub-component will not render / receive it.<subcomp...
View ArticleRe : attributes in camelCase don't work
The reason is that the DOM ignores case on attributes. http://jsfiddle.net/xKc3H/364/
View ArticleRe : attributes in camelCase don't work
Thanks. But then why won't mustache internally convert everything between {{}} to lowercase?The following works:<subcomp scopeVar="someThing.scopeMember"><div>Sub, lowercase:...
View ArticleRe : Passing parent scope to components is undocumented
I was actually referring to the fact that say you have something like active defined in the parent scope, and it's parent's scope, in the second child it's undocumented that you can use the dot syntax...
View ArticleRe : Passing parent scope to components is undocumented
Dot will be documented in 2.1. However, a wiring of dot to a component will not be specifically documented probably ever ... I would leave it to a developer to infer it.In term of cross binding...
View ArticleRe : Passing parent scope to components is undocumented
Ahh, did not know that. I had actually been engineering around that by making sure there aren't property naming conflicts. Regardless, the dot notation isn't documented. A common case is if you're...
View ArticleListen to custom events in can.Component?
Hello. First of all, thank you for you hard work on this awesome framework! Here is the question, can we do something like this in component tag: "results-list", events: { "redraw": function () {...
View ArticleRe : Listen to custom events in can.Component?
You can listen to DOM mutation events. Why do you need to know when something is redrawing? What is causing the redraw, can you listen to that?
View ArticleRe : Listen to custom events in can.Component?
Use transitionEnd, and check to make sure the event target is the element bound to, not a child element. '#list transitionend': 'refresh', '#list webkitTransitionEnd': 'refresh', '#list...
View ArticleRe : Listen to custom events in can.Component?
Sorry, I really new to js world, so forgive my dumb questions :) Yes, i can listen to changes in can.model.list, or params beeing passed to view containing component tags but how? here is the code of...
View ArticleRe : Listen to custom events in can.Component?
Thank you, but unfortunately that's not quite what am looking for :)
View Articlecan.route replacing attributes
I have two routes:can.route(":foo")can.route("foo/:bar")And I navigate between them with:can.route.attr('foo', 'foo'); -> http://localhost/foocan.route.attr('bar', 'bar'); ->...
View ArticleRe : can.route replacing attributes
You can add another parameter for empty (or default) route:can.route("",{foo:'foo',bar:'bar'})Mohamed Cherif BOUCHELAGHEM
View ArticleRe : can.route replacing attributes
My question is a little harder. I made a mistake in result it should be http://localhost/bar/barSo in default route I can not add one more attribute.I have this routing rules in my can.Control...
View ArticleRe : can.route replacing attributes
Your pretty url patterns overlap - you're matching both patterns in your example. The patterns match based off of declaration order, so it's very common to define all of your routes outside of...
View ArticleRe : can.route replacing attributes
The fact that I want to create a router for dynamic links and in this case I do not know beforehand how the router will be called. So I can order non-dynamic links.
View Article