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

cant find vrituoso in windows global while using umd release #14

Closed
stunaz opened this issue May 31, 2019 · 1 comment
Closed

cant find vrituoso in windows global while using umd release #14

stunaz opened this issue May 31, 2019 · 1 comment
Labels
question Further information is requested

Comments

@stunaz
Copy link

stunaz commented May 31, 2019

Hi, I wanted to test that lib on an umd application.
After putting the https://unpkg.com/react-virtuoso@0.7.0/dist/react-virtuoso.umd.production.js in the the head of my html. i cant find the Virtuoso.

Tried

  • window.ReactVirtuos0
  • window.Virtuoso
@petyosi
Copy link
Owner

petyosi commented Jun 1, 2019

Hey,

In the UMD bundle, you can access both Virtuoso and GroupedVirtuoso from the window['react-virtuoso'] object.

Cheers,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants