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

Re : Howto: listen for view change event?

$
0
0
If you have particular html element in your view which is re-rendered with every possible change, you can update scrollbar like this:

  1. <div>
  2. <div>
  3. <div <%= function (el) { self.updateScrollbar(el);} %> ></div>
  4.       </div>
  5. </div>
updateScrollbar is a function in your control.

Viewing all articles
Browse latest Browse all 3491

Trending Articles