Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Re : can.batch.start callback called too early in can.Map.extend() init?

$
0
0
Is there anything I can do to gain access to the DOM objects the instant they're added? can.view.hook sounds about right, but applied differently and currently EJS-only. Timeouts create visual discrepancies. I'd thought that using can.batch.start would result in the code being called at the desired moment, after any encapsulating batches had stop'ped.

And I like sophisticated  Especially when doing it any other way would ruin the beauty that CanJS allows us to maintain. It's in the "background" anyway; the accessible API is kept simple and usable.

Viewing all articles
Browse latest Browse all 3491

Trending Articles