-
Notifications
You must be signed in to change notification settings - Fork 2
SCAL-258312 : Lazy loading for Embed #238
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
🎉 Snyk checks have passed. No issues have been found so far.✅ security/snyk check is complete. No issues have been found. (View Details) ✅ license/snyk check is complete. No issues have been found. (View Details) |
commit: |
* @default false | ||
* @version SDK: 1.39.0 | ThoughtSpot:10.10.0.cl | ||
*/ | ||
lazyLoadingForFullHeight?: boolean; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets create a mixin, and not duplicate the code.
} | ||
} | ||
|
||
private postRender() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make this a empty method on ts-embed
} | ||
|
||
this.on(EmbedEvent.RouteChange, this.setIframeHeightForNonEmbedLiveboard); | ||
this.on(EmbedEvent.EmbedHeight, this.updateIFrameHeight); | ||
this.on(EmbedEvent.EmbedIframeCenter, this.embedIframeCenter); | ||
this.on(EmbedEvent.RequestFullHeightLazyLoadData, this.sendFullHeightLazyLoadData.bind(this)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
getEmbedVisibleCoordinates
No description provided.