(animation-frame)
Subscription to the browser's animation frames, emitting the timestamps as actions.
Subscription to the browser's animation frames, emitting the timestamps as actions.
(defn-dom name [attrs & args] & body)
Defines a function similar to the dom functions, in that the first
argument is an optional attributes map. If the defined function is
called without an attribute map, then {}
will be passed
implicitly.
Defines a function similar to the dom functions, in that the first argument is an optional attributes map. If the defined function is called without an attribute map, then `{}` will be passed implicitly.
(intersection-change elem options)
Returns a subscription item to intersection information for the given dom element, as of the IntersectionObserver API.
Returns a subscription item to intersection information for the given dom element, as of the IntersectionObserver API.
(interval ms)
Subscription to a timer, emitting true
as an action every given milliseconds.
Subscription to a timer, emitting `true` as an action every given milliseconds.
(timeout ms)
Subscription to a timer, emitting true
as an action once, after they given number of milliseconds.
Subscription to a timer, emitting `true` as an action once, after they given number of milliseconds.
(visibility-change elem & [options])
Returns a subscription item that emits true or false, when the given dom element becomes visible or invisible to the user in the browser window.
Returns a subscription item that emits true or false, when the given dom element becomes visible or invisible to the user in the browser window.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close