3.9
API
Tutorial
Demo
Install
Changes
Community
GitHub
Twitter
Menu
/
×
⏎ ENTER
Full text search
Linking to fragments
Topics
Overview
Attributes and options
Targeting fragments
Handling all links and forms
Handling failed responses
Preloading links
Lazy loading content
Clicking non-interactive elements
HTML
[up-clickable]
[up-dash]
[up-dash]
[up-defer]
[up-defer]
[up-intersect-margin]
[up-href]
[up-headers]
[up-cache]
[up-target]
[up-feedback]
[up-background]
[up-expand]
[up-expand]
[up-follow]
[up-navigate]
[href]
[up-target]
[up-fallback]
[up-match]
[up-method]
[up-params]
[up-headers]
[up-content]
[up-fragment]
[up-document]
[up-fail]
[up-history]
[up-title]
[up-location]
[up-meta-tags]
[up-lang]
[up-transition]
[up-animation]
[up-duration]
[up-easing]
[up-cache]
[up-revalidate]
[up-expire-cache]
[up-evict-cache]
[up-abort]
[up-abortable]
[up-background]
[up-bad-response-time]
[up-timeout]
[up-layer]
[up-peel]
[up-context]
[up-scroll]
[up-scroll-behavior]
[up-reveal-snap]
[up-reveal-top]
[up-reveal-padding]
[up-reveal-max]
[up-save-scroll]
[up-focus]
[up-save-focus]
[up-confirm]
[up-feedback]
[up-on-loaded]
[up-on-rendered]
[up-on-finished]
[up-on-offline]
[up-on-error]
[up-use-keep]
[up-use-hungry]
[up-href]
[up-href]
[up-instant]
[up-preload]
[up-preload]
[up-preload-delay]
[up-intersect-margin]
Events
up:click
up:deferred:load
up:link:follow
up:link:preload
JavaScript
up.deferred.load()
up.follow()
up.link.config
config.followSelectors
config.noFollowSelectors
config.instantSelectors
config.noInstantSelectors
config.preloadSelectors
config.noPreloadSelectors
config.preloadDelay
config.clickableSelectors
config.noClickableSelectors
up.link.followOptions()
up.link.isFollowable()
up.link.isSafe()
up.link.makeFollowable()
up.link.preload()
Custom JavaScript
Topics
Overview
Attaching data to elements
Migrating legacy JavaScripts
Handling changes in frontend code
HTML
[up-asset]
[up-data]
[up-data]
Events
up:assets:changed
JavaScript
up.compiler()
up.$compiler()
up.data()
up.destructor()
up.hello()
up.macro()
up.$macro()
up.script.config
config.assetSelectors
config.noAssetSelectors
config.scriptSelectors
config.noScriptSelectors
Forms
Topics
Overview
Validating forms
Dependent fields
Disabling forms while working
Watch options
HTML
[up-autosubmit]
[up-watch-event]
[up-watch-delay]
[up-fieldset]
[up-form-group]
[up-hide-for]
[up-hide-for]
[up-observe]
[up-observe]
[up-show-for]
[up-show-for]
[up-submit]
[up-target]
[up-fail-target]
[up-disable]
[up-switch]
[up-switch]
[up-validate]
[up-validate]
[up-watch-event]
[up-watch-delay]
[up-watch-disable]
[up-watch-feedback]
[up-watch]
[up-watch]
[up-watch-event]
[up-watch-delay]
[up-watch-disable]
[up-watch-feedback]
Events
up:form:submit
up:form:validate
JavaScript
up.autosubmit()
up.form.config
config.submitSelectors
config.noSubmitSelectors
config.groupSelectors
config.fieldSelectors
config.submitButtonSelectors
config.watchInputDelay
config.watchInputEvents
config.watchChangeEvents
up.form.fields()
up.form.group()
up.form.isField()
up.form.isSubmittable()
up.form.submitButtons()
up.form.submitOptions()
up.observe()
up.Params
new up.Params()
up.Params.prototype.clear()
up.Params.prototype.toObject()
up.Params.prototype.toArray()
up.Params.prototype.toFormData()
up.Params.prototype.toQuery()
up.Params.prototype.toURL()
up.Params.prototype.add()
up.Params.prototype.addAll()
up.Params.prototype.set()
up.Params.prototype.delete()
up.Params.prototype.get()
up.Params.prototype.getFirst()
up.Params.prototype.getAll()
up.Params.fromForm()
up.Params.fromFields()
up.Params.prototype.addField()
up.Params.fromURL()
up.Params.stripURL()
up.submit()
up.validate()
up.watch()
Layers
Topics
Overview
Layer terminology
Layer option
Opening overlays
Closing overlays
Subinteractions
Customizing overlays
Layer context
HTML
[up-accept]
[up-accept]
[up-confirm]
[up-duration]
[up-easing]
[up-close]
[up-dismiss]
[up-dismiss]
[up-confirm]
[up-animation]
[up-duration]
[up-easing]
[up-drawer]
[up-drawer]
[up-layer=new]
[up-layer]
[up-mode]
[up-size]
[up-class]
[up-history]
[up-dismissable]
[up-animation]
[up-on-opened]
[up-on-accepted]
[up-on-dismissed]
[up-accept-event]
[up-dismiss-event]
[up-accept-location]
[up-dismiss-location]
[up-context]
[up-position]
[up-align]
[up-modal]
[up-modal]
[up-popup]
[up-popup]
Events
up:layer:accept
up:layer:accepted
up:layer:dismiss
up:layer:dismissed
up:layer:location:changed
up:layer:open
up:layer:opened
JavaScript
up.Layer
up.Layer.prototype.element
up.Layer.prototype.history
up.Layer.prototype.mode
up.Layer.prototype.context
up.Layer.prototype.sync()
up.Layer.prototype.accept()
up.Layer.prototype.dismiss()
up.Layer.prototype.peel()
up.Layer.prototype.isCurrent()
up.Layer.prototype.isFront()
up.Layer.prototype.isRoot()
up.Layer.prototype.isOverlay()
up.Layer.prototype.isOpen()
up.Layer.prototype.isClosed()
up.Layer.prototype.parent
up.Layer.prototype.child
up.Layer.prototype.ancestors
up.Layer.prototype.descendants
up.Layer.prototype.subtree
up.Layer.prototype.index
up.Layer.prototype.contains()
up.Layer.prototype.on()
up.Layer.prototype.off()
up.Layer.prototype.emit()
up.Layer.prototype.asCurrent()
up.Layer.prototype.title
up.Layer.prototype.location
up.Layer.prototype.affix()
up.Layer.prototype.origin
up.Layer.prototype.size
up.Layer.prototype.position
up.Layer.prototype.align
up.layer.accept()
up.layer.affix()
up.layer.ask()
up.layer.config
config.mode
config.any
config.any.mainTargets
config.root
config.root.mainTargets
config.overlay
config.overlay.openAnimation
config.overlay.openDuration
config.overlay.openEasing
config.overlay.closeAnimation
config.overlay.closeDuration
config.overlay.closeEasing
config.overlay.dismissLabel
config.overlay.dismissAriaLabel
config.overlay.history
config.overlay.class
config.modal
config.cover
config.drawer
config.popup
config.foreignOverlaySelectors
up.layer.contains()
up.layer.context
up.layer.count
up.layer.current
up.layer.dismiss()
up.layer.dismissOverlays()
up.layer.element
up.layer.element
up.layer.emit()
up.layer.front
up.layer.get()
up.layer.getAll()
up.layer.history
up.layer.isFront()
up.layer.isOverlay()
up.layer.isRoot()
up.layer.location
up.layer.mode
up.layer.off()
up.layer.on()
up.layer.open()
up.layer.overlays
up.layer.parent
up.layer.root
up.layer.size
up.layer.stack
up.modal.close()
up.modal.config
up.modal.contains()
up.modal.coveredUrl()
up.modal.extract()
up.modal.follow()
up.modal.isOpen()
up.modal.url()
up.modal.visit()
up.popup.attach()
up.popup.close()
up.popup.config
up.popup.contains()
up.popup.coveredUrl()
up.popup.isOpen()
up.popup.url()
Fragment API
Topics
Overview
Navigation
Providing content to render
Render lifecycle hooks
Skipping unnecessary rendering
Target derivation
HTML
:has()
:layer
:main
:maybe
:none
:origin
.up-destroying
[up-etag]
[up-etag]
[up-id]
[up-id]
[up-keep]
[up-on-keep]
[up-main]
[up-main]
[up-source]
[up-source]
[up-time]
[up-time]
Events
up:fragment:aborted
up:fragment:destroyed
up:fragment:inserted
up:fragment:keep
up:fragment:loaded
up:fragment:offline
JavaScript
up.context
up.destroy()
up.extract()
up.fragment.abort()
up.fragment.all()
up.fragment.closest()
up.fragment.config
config.mainTargets
config.targetDerivers
config.badTargetClasses
config.verifyDerivedTarget
config.navigateOptions
config.match
config.autoHistoryTargets
config.autoScroll
config.autoFocus
config.runScripts
config.autoRevalidate
config.skipResponse
up.fragment.contains()
up.fragment.etag()
up.fragment.first()
up.fragment.get()
up.fragment.isTargetable()
up.fragment.matches()
up.fragment.onAborted()
up.fragment.source()
up.fragment.subtree()
up.fragment.time()
up.fragment.toTarget()
up.navigate()
up.reload()
up.render()
up.RenderJob
up.RenderJob.prototype.options
up.RenderJob.prototype.finished
up.RenderJob.prototype.then()
up.RenderResult
up.RenderResult.prototype.fragments
up.RenderResult.prototype.layer
up.RenderResult.prototype.target
up.RenderResult.prototype.none
up.RenderResult.prototype.fragment
up.replace()
up.visit()
Passive updates
Topics
Overview
Notification flashes
HTML
[up-flashes]
[up-transition]
[up-duration]
[up-easing]
[up-hungry]
[up-if-layer]
[up-on-hungry]
[up-transition]
[up-duration]
[up-easing]
[up-poll]
[up-interval]
[up-href]
[up-method]
[up-headers]
[up-params]
[up-keep-data]
[up-if-layer]
Events
up:fragment:hungry
up:fragment:poll
JavaScript
up.radio.config
config.hungrySelectors
config.noHungrySelectors
config.pollInterval
up.radio.startPolling()
up.radio.stopPolling()
Animation
Topics
Overview
Predefined animations
Predefined transitions
Motion tuning
HTML
[up-transition]
[up-transition]
[up-fail-transition]
Events
up:motion:finish
JavaScript
up.animate()
up.animation()
up.morph()
up.motion.config
config.duration
config.easing
config.enabled
up.motion.finish()
up.motion.isEnabled()
up.transition()
Navigation feedback
Topics
Overview
HTML
.up-active
[up-alias]
[up-alias]
.up-current
.up-loading
[up-nav]
JavaScript
up.feedback.config
config.currentClasses
config.navSelectors
config.noNavSelectors
Network requests
Topics
Overview
Caching
Aborting requests
Handling network issues
Loading indicators
Events
up:network:late
up:network:recover
up:request:aborted
up:request:load
up:request:loaded
up:request:offline
JavaScript
up.ajax()
up.cache.alias()
up.cache.clear()
up.cache.evict()
up.cache.expire()
up.cache.get()
up.network.abort()
up.network.config
config.concurrency
config.wrapMethod
config.cacheSize
config.badResponseTime
config.timeout
config.fail
config.cacheExpireAge
config.cacheEvictAge
config.autoCache
config.expireCache
config.evictCache
config.progressBar
up.network.isBusy()
up.network.isIdle()
up.network.loadPage()
up.proxy.clear()
up.proxy.preload()
up.Request
up.Request.prototype.loadPage()
up.Request.prototype.preload
up.Request.prototype.method
up.Request.prototype.url
up.Request.prototype.hash
up.Request.prototype.params
up.Request.prototype.target
up.Request.prototype.failTarget
up.Request.prototype.headers
up.Request.prototype.header()
up.Request.prototype.timeout
up.Request.prototype.wrapMethod
up.Request.prototype.context
up.Request.prototype.failContext
up.Request.prototype.layer
up.Request.prototype.failLayer
up.Request.prototype.origin
up.Request.prototype.mode
up.Request.prototype.failMode
up.Request.prototype.contentType
up.Request.prototype.payload
up.Request.prototype.background
up.Request.prototype.badResponseTime
up.Request.prototype.xhr
up.Request.prototype.fragments
up.Request.prototype.fragment
up.Request.prototype.loadPage()
up.Request.prototype.abort()
up.Request.prototype.then()
up.request()
up.Response
up.Response.prototype.isSuccess()
up.Response.prototype.getHeader()
up.Response.prototype.isError()
up.Response.prototype.method
up.Response.prototype.url
up.Response.prototype.text
up.Response.prototype.status
up.Response.prototype.xhr
up.Response.prototype.title
up.Response.prototype.target
up.Response.prototype.context
up.Response.prototype.ok
up.Response.prototype.header()
up.Response.prototype.contentType
up.Response.prototype.lastModified
up.Response.prototype.etag
up.Response.prototype.json
up.Response.prototype.age
up.Response.prototype.expired
Events
Topics
Overview
HTML
[up-emit]
[up-emit]
[up-emit-props]
JavaScript
up.emit()
up.event.build()
up.event.halt()
up.event.inputDevice
up.event.nobodyPrevents()
up.event.onEscape()
up.off()
up.on()
up.$on()
Server protocol
Topics
Overview
Optimizing responses
Conditional requests
Working with strict Content Security Policies
JavaScript
up.protocol.config
config.csrfHeader
config.csrfParam
config.csrfToken
config.cspNonce
config.methodParam
config.maxHeaderSize
HTTP
ETag
If-Modified-Since
If-None-Match
Last-Modified
_up_method
Vary
X-Up-Accept-Layer
X-Up-Clear-Cache
X-Up-Context
X-Up-Dismiss-Layer
X-Up-Events
X-Up-Evict-Cache
X-Up-Expire-Cache
X-Up-Fail-Context
X-Up-Fail-Mode
X-Up-Fail-Target
X-Up-Location
X-Up-Method
X-Up-Mode
X-Up-Reload-From-Time
X-Up-Target
X-Up-Title
X-Up-Validate
X-Up-Version
DOM helpers
Topics
Overview
HTML
[hidden]
JavaScript
up.element.affix()
up.element.all()
up.element.attr()
up.element.booleanAttr()
up.element.closest()
up.element.createFromHTML()
up.element.createFromSelector()
up.element.first()
up.element.get()
up.element.hide()
up.element.isAttached()
up.element.isDetached()
up.element.isEmpty()
up.element.isVisible()
up.element.jsonAttr()
up.element.matches()
up.element.numberAttr()
up.element.remove()
up.element.replace()
up.element.setAttrs()
up.element.setStyle()
up.element.show()
up.element.style()
up.element.styleNumber()
up.element.subtree()
up.element.toggle()
up.element.toggleClass()
up.element.toSelector()
Scrolling and focus
Topics
Overview
Scrolling
Tuning the scroll behavior
Controlling focus
Focus ring visibility
Infinite scrolling
HTML
[up-anchored=right]
[up-fixed=bottom]
[up-fixed=top]
.up-focus-hidden
.up-focus-visible
.up-scrollbar-away
[up-viewport]
JavaScript
up.focus()
up.reveal()
up.scroll()
up.viewport.closest()
up.viewport.config
config.viewportSelectors
config.fixedTopSelectors
config.fixedBottomSelectors
config.anchoredRightSelectors
config.revealSnap
config.revealPadding
config.revealMax
config.revealTop
config.autoFocusVisible
up.viewport.get()
up.viewport.restoreFocus()
up.viewport.restoreScroll()
up.viewport.root()
up.viewport.saveFocus()
up.viewport.saveScroll()
History
Topics
Overview
Updating history
Restoring history
History in overlays
Tracking page views
HTML
[up-back]
[up-meta]
Events
up:location:changed
up:location:restore
JavaScript
up.history.config
config.restoreTargets
config.enabled
config.updateMetaTags
config.metaTagSelectors
config.noMetaTagSelectors
up.history.isLocation()
up.history.location
up.history.previousLocation
up.history.push()
up.history.url()
Utility functions
Topics
Overview
URL patterns
JavaScript
up.util.assign()
up.util.compact()
up.util.contains()
up.util.copy()
up.util.copy.key
up.util.each()
up.util.escapeHTML()
up.util.evalOption()
up.util.every()
up.util.except()
up.util.filter()
up.util.find()
up.util.findResult()
up.util.flatMap()
up.util.flatten()
up.util.isArray()
up.util.isBlank()
up.util.isBlank.key
up.util.isBoolean()
up.util.isDefined()
up.util.isElement()
up.util.isEqual()
up.util.isEqual.key
up.util.isFunction()
up.util.isGiven()
up.util.isJQuery()
up.util.isList()
up.util.isMissing()
up.util.isNull()
up.util.isNumber()
up.util.isObject()
up.util.isPresent()
up.util.isPromise()
up.util.isString()
up.util.isUndefined()
up.util.last()
up.util.map()
up.util.merge()
up.util.microtask()
up.util.noop()
up.util.normalizeURL()
up.util.omit()
up.util.only()
up.util.parseURL()
up.util.pick()
up.util.pickBy()
up.util.pluckKey()
up.util.presence()
up.util.reject()
up.util.remove()
up.util.some()
up.util.task()
up.util.timer()
up.util.times()
up.util.toArray()
up.util.uniq()
up.util.uniqBy()
up.util.values()
up.util.wrapList()
Framework initialization
Topics
Overview
HTML
[up-boot=manual]
Events
up:framework:booted
JavaScript
up.boot()
up.framework.booted
up.framework.isSupported()
Logging
Topics
Overview
JavaScript
up.log.config
config.enabled
config.banner
config.format
up.log.disable()
up.log.enable()
/
×
⏎ ENTER
Full text search
Linking to fragments
Topics
Overview
Attributes and options
Targeting fragments
Handling all links and forms
Handling failed responses
Preloading links
Lazy loading content
Clicking non-interactive elements
HTML
[up-clickable]
[up-dash]
[up-dash]
[up-defer]
[up-defer]
[up-intersect-margin]
[up-href]
[up-headers]
[up-cache]
[up-target]
[up-feedback]
[up-background]
[up-expand]
[up-expand]
[up-follow]
[up-navigate]
[href]
[up-target]
[up-fallback]
[up-match]
[up-method]
[up-params]
[up-headers]
[up-content]
[up-fragment]
[up-document]
[up-fail]
[up-history]
[up-title]
[up-location]
[up-meta-tags]
[up-lang]
[up-transition]
[up-animation]
[up-duration]
[up-easing]
[up-cache]
[up-revalidate]
[up-expire-cache]
[up-evict-cache]
[up-abort]
[up-abortable]
[up-background]
[up-bad-response-time]
[up-timeout]
[up-layer]
[up-peel]
[up-context]
[up-scroll]
[up-scroll-behavior]
[up-reveal-snap]
[up-reveal-top]
[up-reveal-padding]
[up-reveal-max]
[up-save-scroll]
[up-focus]
[up-save-focus]
[up-confirm]
[up-feedback]
[up-on-loaded]
[up-on-rendered]
[up-on-finished]
[up-on-offline]
[up-on-error]
[up-use-keep]
[up-use-hungry]
[up-href]
[up-href]
[up-instant]
[up-preload]
[up-preload]
[up-preload-delay]
[up-intersect-margin]
Events
up:click
up:deferred:load
up:link:follow
up:link:preload
JavaScript
up.deferred.load()
up.follow()
up.link.config
config.followSelectors
config.noFollowSelectors
config.instantSelectors
config.noInstantSelectors
config.preloadSelectors
config.noPreloadSelectors
config.preloadDelay
config.clickableSelectors
config.noClickableSelectors
up.link.followOptions()
up.link.isFollowable()
up.link.isSafe()
up.link.makeFollowable()
up.link.preload()
Custom JavaScript
Topics
Overview
Attaching data to elements
Migrating legacy JavaScripts
Handling changes in frontend code
HTML
[up-asset]
[up-data]
[up-data]
Events
up:assets:changed
JavaScript
up.compiler()
up.$compiler()
up.data()
up.destructor()
up.hello()
up.macro()
up.$macro()
up.script.config
config.assetSelectors
config.noAssetSelectors
config.scriptSelectors
config.noScriptSelectors
Forms
Topics
Overview
Validating forms
Dependent fields
Disabling forms while working
Watch options
HTML
[up-autosubmit]
[up-watch-event]
[up-watch-delay]
[up-fieldset]
[up-form-group]
[up-hide-for]
[up-hide-for]
[up-observe]
[up-observe]
[up-show-for]
[up-show-for]
[up-submit]
[up-target]
[up-fail-target]
[up-disable]
[up-switch]
[up-switch]
[up-validate]
[up-validate]
[up-watch-event]
[up-watch-delay]
[up-watch-disable]
[up-watch-feedback]
[up-watch]
[up-watch]
[up-watch-event]
[up-watch-delay]
[up-watch-disable]
[up-watch-feedback]
Events
up:form:submit
up:form:validate
JavaScript
up.autosubmit()
up.form.config
config.submitSelectors
config.noSubmitSelectors
config.groupSelectors
config.fieldSelectors
config.submitButtonSelectors
config.watchInputDelay
config.watchInputEvents
config.watchChangeEvents
up.form.fields()
up.form.group()
up.form.isField()
up.form.isSubmittable()
up.form.submitButtons()
up.form.submitOptions()
up.observe()
up.Params
new up.Params()
up.Params.prototype.clear()
up.Params.prototype.toObject()
up.Params.prototype.toArray()
up.Params.prototype.toFormData()
up.Params.prototype.toQuery()
up.Params.prototype.toURL()
up.Params.prototype.add()
up.Params.prototype.addAll()
up.Params.prototype.set()
up.Params.prototype.delete()
up.Params.prototype.get()
up.Params.prototype.getFirst()
up.Params.prototype.getAll()
up.Params.fromForm()
up.Params.fromFields()
up.Params.prototype.addField()
up.Params.fromURL()
up.Params.stripURL()
up.submit()
up.validate()
up.watch()
Layers
Topics
Overview
Layer terminology
Layer option
Opening overlays
Closing overlays
Subinteractions
Customizing overlays
Layer context
HTML
[up-accept]
[up-accept]
[up-confirm]
[up-duration]
[up-easing]
[up-close]
[up-dismiss]
[up-dismiss]
[up-confirm]
[up-animation]
[up-duration]
[up-easing]
[up-drawer]
[up-drawer]
[up-layer=new]
[up-layer]
[up-mode]
[up-size]
[up-class]
[up-history]
[up-dismissable]
[up-animation]
[up-on-opened]
[up-on-accepted]
[up-on-dismissed]
[up-accept-event]
[up-dismiss-event]
[up-accept-location]
[up-dismiss-location]
[up-context]
[up-position]
[up-align]
[up-modal]
[up-modal]
[up-popup]
[up-popup]
Events
up:layer:accept
up:layer:accepted
up:layer:dismiss
up:layer:dismissed
up:layer:location:changed
up:layer:open
up:layer:opened
JavaScript
up.Layer
up.Layer.prototype.element
up.Layer.prototype.history
up.Layer.prototype.mode
up.Layer.prototype.context
up.Layer.prototype.sync()
up.Layer.prototype.accept()
up.Layer.prototype.dismiss()
up.Layer.prototype.peel()
up.Layer.prototype.isCurrent()
up.Layer.prototype.isFront()
up.Layer.prototype.isRoot()
up.Layer.prototype.isOverlay()
up.Layer.prototype.isOpen()
up.Layer.prototype.isClosed()
up.Layer.prototype.parent
up.Layer.prototype.child
up.Layer.prototype.ancestors
up.Layer.prototype.descendants
up.Layer.prototype.subtree
up.Layer.prototype.index
up.Layer.prototype.contains()
up.Layer.prototype.on()
up.Layer.prototype.off()
up.Layer.prototype.emit()
up.Layer.prototype.asCurrent()
up.Layer.prototype.title
up.Layer.prototype.location
up.Layer.prototype.affix()
up.Layer.prototype.origin
up.Layer.prototype.size
up.Layer.prototype.position
up.Layer.prototype.align
up.layer.accept()
up.layer.affix()
up.layer.ask()
up.layer.config
config.mode
config.any
config.any.mainTargets
config.root
config.root.mainTargets
config.overlay
config.overlay.openAnimation
config.overlay.openDuration
config.overlay.openEasing
config.overlay.closeAnimation
config.overlay.closeDuration
config.overlay.closeEasing
config.overlay.dismissLabel
config.overlay.dismissAriaLabel
config.overlay.history
config.overlay.class
config.modal
config.cover
config.drawer
config.popup
config.foreignOverlaySelectors
up.layer.contains()
up.layer.context
up.layer.count
up.layer.current
up.layer.dismiss()
up.layer.dismissOverlays()
up.layer.element
up.layer.element
up.layer.emit()
up.layer.front
up.layer.get()
up.layer.getAll()
up.layer.history
up.layer.isFront()
up.layer.isOverlay()
up.layer.isRoot()
up.layer.location
up.layer.mode
up.layer.off()
up.layer.on()
up.layer.open()
up.layer.overlays
up.layer.parent
up.layer.root
up.layer.size
up.layer.stack
up.modal.close()
up.modal.config
up.modal.contains()
up.modal.coveredUrl()
up.modal.extract()
up.modal.follow()
up.modal.isOpen()
up.modal.url()
up.modal.visit()
up.popup.attach()
up.popup.close()
up.popup.config
up.popup.contains()
up.popup.coveredUrl()
up.popup.isOpen()
up.popup.url()
Fragment API
Topics
Overview
Navigation
Providing content to render
Render lifecycle hooks
Skipping unnecessary rendering
Target derivation
HTML
:has()
:layer
:main
:maybe
:none
:origin
.up-destroying
[up-etag]
[up-etag]
[up-id]
[up-id]
[up-keep]
[up-on-keep]
[up-main]
[up-main]
[up-source]
[up-source]
[up-time]
[up-time]
Events
up:fragment:aborted
up:fragment:destroyed
up:fragment:inserted
up:fragment:keep
up:fragment:loaded
up:fragment:offline
JavaScript
up.context
up.destroy()
up.extract()
up.fragment.abort()
up.fragment.all()
up.fragment.closest()
up.fragment.config
config.mainTargets
config.targetDerivers
config.badTargetClasses
config.verifyDerivedTarget
config.navigateOptions
config.match
config.autoHistoryTargets
config.autoScroll
config.autoFocus
config.runScripts
config.autoRevalidate
config.skipResponse
up.fragment.contains()
up.fragment.etag()
up.fragment.first()
up.fragment.get()
up.fragment.isTargetable()
up.fragment.matches()
up.fragment.onAborted()
up.fragment.source()
up.fragment.subtree()
up.fragment.time()
up.fragment.toTarget()
up.navigate()
up.reload()
up.render()
up.RenderJob
up.RenderJob.prototype.options
up.RenderJob.prototype.finished
up.RenderJob.prototype.then()
up.RenderResult
up.RenderResult.prototype.fragments
up.RenderResult.prototype.layer
up.RenderResult.prototype.target
up.RenderResult.prototype.none
up.RenderResult.prototype.fragment
up.replace()
up.visit()
Passive updates
Topics
Overview
Notification flashes
HTML
[up-flashes]
[up-transition]
[up-duration]
[up-easing]
[up-hungry]
[up-if-layer]
[up-on-hungry]
[up-transition]
[up-duration]
[up-easing]
[up-poll]
[up-interval]
[up-href]
[up-method]
[up-headers]
[up-params]
[up-keep-data]
[up-if-layer]
Events
up:fragment:hungry
up:fragment:poll
JavaScript
up.radio.config
config.hungrySelectors
config.noHungrySelectors
config.pollInterval
up.radio.startPolling()
up.radio.stopPolling()
Animation
Topics
Overview
Predefined animations
Predefined transitions
Motion tuning
HTML
[up-transition]
[up-transition]
[up-fail-transition]
Events
up:motion:finish
JavaScript
up.animate()
up.animation()
up.morph()
up.motion.config
config.duration
config.easing
config.enabled
up.motion.finish()
up.motion.isEnabled()
up.transition()
Navigation feedback
Topics
Overview
HTML
.up-active
[up-alias]
[up-alias]
.up-current
.up-loading
[up-nav]
JavaScript
up.feedback.config
config.currentClasses
config.navSelectors
config.noNavSelectors
Network requests
Topics
Overview
Caching
Aborting requests
Handling network issues
Loading indicators
Events
up:network:late
up:network:recover
up:request:aborted
up:request:load
up:request:loaded
up:request:offline
JavaScript
up.ajax()
up.cache.alias()
up.cache.clear()
up.cache.evict()
up.cache.expire()
up.cache.get()
up.network.abort()
up.network.config
config.concurrency
config.wrapMethod
config.cacheSize
config.badResponseTime
config.timeout
config.fail
config.cacheExpireAge
config.cacheEvictAge
config.autoCache
config.expireCache
config.evictCache
config.progressBar
up.network.isBusy()
up.network.isIdle()
up.network.loadPage()
up.proxy.clear()
up.proxy.preload()
up.Request
up.Request.prototype.loadPage()
up.Request.prototype.preload
up.Request.prototype.method
up.Request.prototype.url
up.Request.prototype.hash
up.Request.prototype.params
up.Request.prototype.target
up.Request.prototype.failTarget
up.Request.prototype.headers
up.Request.prototype.header()
up.Request.prototype.timeout
up.Request.prototype.wrapMethod
up.Request.prototype.context
up.Request.prototype.failContext
up.Request.prototype.layer
up.Request.prototype.failLayer
up.Request.prototype.origin
up.Request.prototype.mode
up.Request.prototype.failMode
up.Request.prototype.contentType
up.Request.prototype.payload
up.Request.prototype.background
up.Request.prototype.badResponseTime
up.Request.prototype.xhr
up.Request.prototype.fragments
up.Request.prototype.fragment
up.Request.prototype.loadPage()
up.Request.prototype.abort()
up.Request.prototype.then()
up.request()
up.Response
up.Response.prototype.isSuccess()
up.Response.prototype.getHeader()
up.Response.prototype.isError()
up.Response.prototype.method
up.Response.prototype.url
up.Response.prototype.text
up.Response.prototype.status
up.Response.prototype.xhr
up.Response.prototype.title
up.Response.prototype.target
up.Response.prototype.context
up.Response.prototype.ok
up.Response.prototype.header()
up.Response.prototype.contentType
up.Response.prototype.lastModified
up.Response.prototype.etag
up.Response.prototype.json
up.Response.prototype.age
up.Response.prototype.expired
Events
Topics
Overview
HTML
[up-emit]
[up-emit]
[up-emit-props]
JavaScript
up.emit()
up.event.build()
up.event.halt()
up.event.inputDevice
up.event.nobodyPrevents()
up.event.onEscape()
up.off()
up.on()
up.$on()
Server protocol
Topics
Overview
Optimizing responses
Conditional requests
Working with strict Content Security Policies
JavaScript
up.protocol.config
config.csrfHeader
config.csrfParam
config.csrfToken
config.cspNonce
config.methodParam
config.maxHeaderSize
HTTP
ETag
If-Modified-Since
If-None-Match
Last-Modified
_up_method
Vary
X-Up-Accept-Layer
X-Up-Clear-Cache
X-Up-Context
X-Up-Dismiss-Layer
X-Up-Events
X-Up-Evict-Cache
X-Up-Expire-Cache
X-Up-Fail-Context
X-Up-Fail-Mode
X-Up-Fail-Target
X-Up-Location
X-Up-Method
X-Up-Mode
X-Up-Reload-From-Time
X-Up-Target
X-Up-Title
X-Up-Validate
X-Up-Version
DOM helpers
Topics
Overview
HTML
[hidden]
JavaScript
up.element.affix()
up.element.all()
up.element.attr()
up.element.booleanAttr()
up.element.closest()
up.element.createFromHTML()
up.element.createFromSelector()
up.element.first()
up.element.get()
up.element.hide()
up.element.isAttached()
up.element.isDetached()
up.element.isEmpty()
up.element.isVisible()
up.element.jsonAttr()
up.element.matches()
up.element.numberAttr()
up.element.remove()
up.element.replace()
up.element.setAttrs()
up.element.setStyle()
up.element.show()
up.element.style()
up.element.styleNumber()
up.element.subtree()
up.element.toggle()
up.element.toggleClass()
up.element.toSelector()
Scrolling and focus
Topics
Overview
Scrolling
Tuning the scroll behavior
Controlling focus
Focus ring visibility
Infinite scrolling
HTML
[up-anchored=right]
[up-fixed=bottom]
[up-fixed=top]
.up-focus-hidden
.up-focus-visible
.up-scrollbar-away
[up-viewport]
JavaScript
up.focus()
up.reveal()
up.scroll()
up.viewport.closest()
up.viewport.config
config.viewportSelectors
config.fixedTopSelectors
config.fixedBottomSelectors
config.anchoredRightSelectors
config.revealSnap
config.revealPadding
config.revealMax
config.revealTop
config.autoFocusVisible
up.viewport.get()
up.viewport.restoreFocus()
up.viewport.restoreScroll()
up.viewport.root()
up.viewport.saveFocus()
up.viewport.saveScroll()
History
Topics
Overview
Updating history
Restoring history
History in overlays
Tracking page views
HTML
[up-back]
[up-meta]
Events
up:location:changed
up:location:restore
JavaScript
up.history.config
config.restoreTargets
config.enabled
config.updateMetaTags
config.metaTagSelectors
config.noMetaTagSelectors
up.history.isLocation()
up.history.location
up.history.previousLocation
up.history.push()
up.history.url()
Utility functions
Topics
Overview
URL patterns
JavaScript
up.util.assign()
up.util.compact()
up.util.contains()
up.util.copy()
up.util.copy.key
up.util.each()
up.util.escapeHTML()
up.util.evalOption()
up.util.every()
up.util.except()
up.util.filter()
up.util.find()
up.util.findResult()
up.util.flatMap()
up.util.flatten()
up.util.isArray()
up.util.isBlank()
up.util.isBlank.key
up.util.isBoolean()
up.util.isDefined()
up.util.isElement()
up.util.isEqual()
up.util.isEqual.key
up.util.isFunction()
up.util.isGiven()
up.util.isJQuery()
up.util.isList()
up.util.isMissing()
up.util.isNull()
up.util.isNumber()
up.util.isObject()
up.util.isPresent()
up.util.isPromise()
up.util.isString()
up.util.isUndefined()
up.util.last()
up.util.map()
up.util.merge()
up.util.microtask()
up.util.noop()
up.util.normalizeURL()
up.util.omit()
up.util.only()
up.util.parseURL()
up.util.pick()
up.util.pickBy()
up.util.pluckKey()
up.util.presence()
up.util.reject()
up.util.remove()
up.util.some()
up.util.task()
up.util.timer()
up.util.times()
up.util.toArray()
up.util.uniq()
up.util.uniqBy()
up.util.values()
up.util.wrapList()
Framework initialization
Topics
Overview
HTML
[up-boot=manual]
Events
up:framework:booted
JavaScript
up.boot()
up.framework.booted
up.framework.isSupported()
Logging
Topics
Overview
JavaScript
up.log.config
config.enabled
config.banner
config.format
up.log.disable()
up.log.enable()
Made by
Henning Koch
Imprint
Privacy policy