You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have tried to add this extension in my angular app. But getting this error - index.js:1 Uncaught ReferenceError: OverlayScrollbars is not defined
I have added the cdn in my index.html - <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/os-scroll-chain@1/dist/os-scroll-chain.min.js"></script>
I have added these two in my main ts file
import * as scrollChain from 'os-scroll-chain';
OverlayScrollbars.extension("scrollChain", scrollChain );
Then in my custom overlay scrollbar component I have used this -
I have tried to add this extension in my angular app. But getting this error -
index.js:1 Uncaught ReferenceError: OverlayScrollbars is not defined
I have added the cdn in my index.html -
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/os-scroll-chain@1/dist/os-scroll-chain.min.js"></script>
I have added these two in my main ts file
Then in my custom overlay scrollbar component I have used this -
The text was updated successfully, but these errors were encountered: