Skip to content
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

feat(Indicator plugin): add onRender #145

Merged
merged 1 commit into from
Apr 11, 2023

Conversation

mournfulCoroner
Copy link
Contributor

Closes #114

@gravity-ui-bot
Copy link
Contributor

Preview is ready.

}, [generatedId]);

React.useEffect(() => {
// TODO: swap to onRender after https://github.com/yandex-cloud/chartkit/issues/33
onLoad?.();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to add widgetRender with time value to onLoad callback

@mournfulCoroner mournfulCoroner force-pushed the indicator-render-callback branch 2 times, most recently from dc04d25 to f2654ba Compare April 11, 2023 09:18
@mournfulCoroner mournfulCoroner force-pushed the indicator-render-callback branch from f2654ba to 3e5723d Compare April 11, 2023 11:43
@mournfulCoroner mournfulCoroner merged commit 3a044c0 into main Apr 11, 2023
@korvin89 korvin89 deleted the indicator-render-callback branch June 26, 2023 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add renderTime for IndicatorWidget
3 participants