Liking cljdoc? Tell your friends :D
ClojureScript only.

web.PageTransitionEvent

The PageTransitionEvent is fired when a document is being loaded unloaded.

The PageTransitionEvent is fired when a document is being loaded
unloaded.
raw docstring

persistedcljs

(persisted this)

Property.

The persisted read-only property indicates if a webpage is loading a cache.

window.addEventListener('pageshow', function(event) { if (event.persisted) { console.log('Page was loaded from cache.'); } });

See also: https://developer.mozilla.org/en-US/docs/Web/API/PageTransitionEvent/persisted

Property.

The persisted read-only property indicates if a webpage is loading
a cache.

`window.addEventListener('pageshow', function(event) {
if (event.persisted) {
console.log('Page was loaded from cache.');
}
});`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/PageTransitionEvent/persisted`
sourceraw docstring

set-persisted!cljs

(set-persisted! this val)

Property.

The persisted read-only property indicates if a webpage is loading a cache.

window.addEventListener('pageshow', function(event) { if (event.persisted) { console.log('Page was loaded from cache.'); } });

See also: https://developer.mozilla.org/en-US/docs/Web/API/PageTransitionEvent/persisted

Property.

The persisted read-only property indicates if a webpage is loading
a cache.

`window.addEventListener('pageshow', function(event) {
if (event.persisted) {
console.log('Page was loaded from cache.');
}
});`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/PageTransitionEvent/persisted`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close