Hide dynamic text on overflow

Hey folks -

I have a content source that will fill dynamic text fields seemingly based on the paragraph header when I load the page in editor - I.e. for a moment before the content is loaded it just says “HUGE TITLE” (a descriptor which is not anywhere in my database) before loading the actual field, which is typically a two-digit number . This repeatedly causes the page to blow up and expand containers that then have to be moved around again.

I see various sources saying to use velo expand() command to set the text to hide on overflow but can’t seem to get the syntax right. I assume this is incredibly simple but I’m not in EditorX yet and so can’t seem to find the feature to set overflow setting in order to see an example. I assume it’s something simple like

$w("box28").expand()

but this doesn’t change anything on preview. I had found a page on google saying that expand() takes the show/hide properties set by the overflow feature but doing things like

$w("box28").expand(hide)

don’t seem to be right. Can someone help me understand how to use the code to set an object to hide on overflow? Separately, if anyone has thoughts on why my content manager items seem to have inherited this “HUGE TITLE” text from nowhere, would love to know what I’m doing wrong!

Thanks in advance!