Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I can use media queries to resize elements with my sense extension with device px size, no problem with that. My problem is, i can not get width and height of visualization area. Is there anyway to do this ? I looked the api but can't see anyway.
I show what i mean, please look at the picture below. You can see the are with yellow border. Thanks for your help.
paint: function($element, layout) {
var width = $element.width(), height = $element.height();
})
Don't post multiple threads on the same topic.
paint: function($element, layout) {
var width = $element.width(), height = $element.height();
})
Don't post multiple threads on the same topic.
Hi Alexander,
Thanks for your answer. By the way, I didn't post the same topic, there was an issue on qlik community and my first topic dissapeared for a while, so i tought i accidentaly deleted it, and post a new topic. After that both topics appeared together.
akl
How about for Angular-led extensions? On paint, I want to call a method which exists in my main controller. Since the paint method scope cannot see my controller, is there a listener I can bind to which gets called every time the paint() method is fired?