This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Gideon Carstens
Posted Jun 14 - Read on Facebook

Hey all! How do I get what in javascript would be 'document.getElementById('').clientHeight?
Framer's 'height' property doesn't provide that.

I want to make an expandable container and need to to know what the actual content's height is.

In my sample (resize the window) - the printed height never changes even though some of the text gets cut off.

1 Comments

Jordan Robert Dobson

myLayer._element will give you the div that contains text if you added content to the HTML property.

Read the entire post on Facebook