Qlik Community

Qlik Sense Integration, Extensions, & APIs

Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.

Not applicable

Responsive Extension

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.

visualization border.JPG

1 Solution

Accepted Solutions
Employee
Employee

Re: Responsive Extension

paint: function($element, layout) {
  var width = $element.width(), height = $element.height();
})

Don't post multiple threads on the same topic.

3 Replies
Employee
Employee

Re: Responsive Extension

paint: function($element, layout) {
  var width = $element.width(), height = $element.height();
})

Don't post multiple threads on the same topic.

Not applicable

Re: Responsive Extension

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.

sebastian_serva
New Contributor III

Re: Responsive Extension

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?

Community Browser