I'm trying to use the cljsjs/smoothscroll-polyfill library and I have installed it into my project.clj like so: :dependencies [[cljsjs/smoothscroll-polyfill "0.4.0-0"]]
.
In the page where I want to use it, I have (:require [cljsjs.smoothscroll-polyfill]).
But I don't know what the global name of this library is so that I can actually use it, i.e., (.polyfill js/GlobalNameForSmoothScroll)
. What is the global name and how does one find it in general?
I tried using js/smoothscroll, but it didn't work.