Jason Cheek
Posts: 0
Joined: Sun Jan 12, 2014 8:00 am

resize event on footer

How do I capture a resize event on the footer? I have some content I want to always keep between the header and footer, but the footer can expand from a textarea inside it, and so is covering my content.

code
var $footer = $(this).find('[data-role="footer"]');
$footer.on('resize', ... );
/code

Isn't firing when the footer resizes. But it does catch other events like keypress correctly.

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

resize event on footer

Hi Jason,

Unfortunatly there is no such event.

So you should trigger this event yourself.

For example on page show event handler. Or if content of footer changes and height changes two - you can trigger this event or invoke some JS function.

Regards.

Jason Cheek
Posts: 0
Joined: Sun Jan 12, 2014 8:00 am

resize event on footer

Ok. I was afraid of that. Thanks for the info.

Return to “Issues”