-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I've an issue where a JS components is resizing itself before hflex has set the new width.
So I wanna trigger the js components redraw after hflex has set its size, but how cna I catch that ?
Yesterday, I had the same problem when trying to catch resize event of div component. you can do it at the client side by using CSS element queries: https://github.com/marcj/css-element-queries It's simple. For example:
var $div = $('#' + zk.Widget.$('$divComponentId').uuid);
new ResizeSensor($div, function(el){
console.log('Changed to ' + $div.height()+'px height.');
});
Asked: 2015-11-27 16:28:46 +0800
Seen: 26 times
Last updated: Nov 28 '15
Placeholder with phonemasking in IE11 Browser not working
Facing issue in masking on phone [closed]
coerceFromString_ override no longer works from 6.5.1 [closed]
Execute Javascript on component visible
Is there a way to resolve view model properties as input to client side javascripts?
scrollbar listner for 2 grid [closed]