Currently, I have added <script /> tag in the Document file.
Although ESLINT comments "USS is not declared" everything is still working now on LOCAL,
but my site is crashed on PRODUCT
Can you explain this bug?
Hello! This API looks really well done and I'm excited to use it. But first a dumb question. I seem to be missing something to make my app recognize the uss object.
Here are the steps I've taken, along with screenshots to clarify.
Downloaded the uss package via npm install
Copied the minified js file into my app's static directory
Included the minified js file in a script tag in my app.html's header
The caveat here is that I'm using Svelte-kit, which uses server side rendering. Not sure if that is part of the equation or if I'm just missing something dumb.
Most methods currently require a reference to a container to be called.
In my case I'm using the hrefSetup and not referencing any specific containers. Without a container reference, how can I appropriately utilize setYStepLengthCalculator or something similar so that it works with the hrefSetup method?
How can I use this library in react application?
I tried to do so import { uss } from 'universalsmoothscroll';
so import uss from 'universalsmoothscroll';
but nothing comes out.