- tropeanojohn wrote:
> I tried. Not working.This is a timing issue. Due to the asynchronous nature of
onAvailable/onContentReady (which Element uses under the hood), your
call to get is being executed before the Element is actually ready.
You can either defer your calls to "get" until "contentReady" fires (per
my example), or create your Element instance outside of the click
handler so it will be ready onclick.