Browse all APIs

Reactive core

  • action
  • asyncEffect
  • batch
  • catchError
  • cleanup
  • context
  • derived
  • effect
  • externalSignal
  • isResolved
  • listener
  • map
  • memo
  • on
  • owned
  • owner
  • ref
  • resolve
  • root
  • signal
  • syncEffect
  • untrack
  • unwrap
  • withValue

Rendering

  • xml
  • Component
  • Fragment
  • insert
  • isComponent
  • makeCallback
  • markComponent
  • Pota
  • ready
  • readyAsync
  • render
  • toHTML
  • XML

Props

  • prop:__
  • setAttribute
  • setClass
  • setClassList
  • setProperty
  • setStyle

Events

  • on:__
  • addEvent
  • addEventNative
  • emit
  • Emitter
  • event
  • passiveEvent
  • preventDefault
  • removeEvent
  • removeEventNative
  • stopEvent
  • stopImmediatePropagation
  • stopPropagation
  • waitEvent

CSS

  • style:__
  • class:__
  • use:css
  • css
  • setStyle
  • setClass

Lifecycles

  • use:ref
  • use:connected
  • use:disconnected
  • ready
  • readyAsync
  • cleanup

Flow

  • <Collapse/>
  • <Dynamic/>
  • <Errored/>
  • <For/>
  • <Match/>
  • <Range/>
  • <Show/>
  • <Switch/>

Async

  • <Suspense/>
  • asyncEffect
  • readyAsync
  • isResolved

Routing

  • <A/>
  • addListeners
  • load
  • location
  • navigate
  • <Navigate/>
  • navigateSync
  • <Route/>
  • useBeforeLeave

URL

  • url
  • cleanLink
  • decodeURIComponent
  • encodeURIComponent
  • hasProtocol
  • isAbsolute
  • isExternal
  • isFileProtocol
  • isHash
  • isRelative
  • paramsRegExp
  • removeNestedProtocol
  • replaceParams

Store

  • copy
  • merge
  • mutable
  • project
  • readonly
  • replace
  • reset
  • signalify
  • store
  • updateBlacklist

Custom elements

  • customElement
  • <CustomElement/>

Document

  • <Head/>
  • <Portal/>

Text

  • <Linkify/>
  • <Normalize/>

Layout

  • <Splitter/>
  • <Tabs/>

Stylesheets

  • css
  • addAdoptedStyleSheet
  • addStyleSheetExternal
  • addStyleSheets
  • adoptedStyleSheets
  • CSSStyleSheet
  • getAdoptedStyleSheets
  • removeAdoptedStyleSheet
  • sheet

Forms

  • bind
  • clickFocusChildrenInput
  • enterFocusNext
  • focusNextInput
  • form
  • form2object
  • isDisabled
  • isEditable
  • object2form
  • preventEnter
  • sizeToInput

Interaction

  • autoFocus
  • clickOutside
  • clickSelectsAll
  • clipboard
  • drag
  • escape
  • focus
  • focusNext
  • focusPrevious
  • getSelection
  • onDocumentFocus
  • pasteFiles
  • pasteText
  • restoreSelection
  • selection
  • selectOnFocus
  • trapFocus
  • useDocumentFocus

Input

  • gamepad
  • gamepadSnapshot
  • globalShortcut
  • keyboard
  • keysHeld
  • mouse
  • mouseButtons
  • mousePosition
  • shortcut
  • submitOnCtrlEnter
  • useGamepadAxis
  • useGamepadButton
  • useGamepadConnected
  • useGamepadTrigger
  • useKeyHeld
  • useMouseButton
  • useMousePosition

Observers

  • documentSize
  • ensureInBounds
  • intersection
  • lazyImage
  • mutated
  • mutation
  • onDocumentSize
  • onElementSize
  • onMutations
  • onVisible
  • resize
  • useDocumentSize
  • useElementSize
  • useMutations
  • useVisible
  • visible

Browser

  • exitFullscreen
  • favicon
  • fullscreen
  • isDocumentVisible
  • isFullscreen
  • onDocumentVisible
  • onFullscreen
  • onOrientation
  • orientation
  • requestFullscreen
  • scroll
  • scrollIntoView
  • scrollToElement
  • scrollToLocationHash
  • scrollToSelector
  • scrollToSelectorWithFallback
  • scrollToTop
  • setFaviconBadge
  • toggleFullscreen
  • useDocumentVisible
  • useFaviconBadge
  • useFullscreen
  • useOrientation
  • visibility

Floating UI

  • overlay
  • popover
  • tooltip

Data

  • cached
  • dropzone
  • paginate
  • paginateValues
  • storage
  • upload
  • uploadFile

Media

  • copyAudioTracks
  • copyVideoTracks
  • recorder
  • removeAudioTracks
  • removeVideoTracks
  • stopStream
  • stopTrack
  • stopTracks
  • stream

Animation

  • animate
  • animateClassTo
  • animatePartTo
  • documentKeyframes
  • stopAnimations
  • useAnimationFrame

Environment

  • browser
  • isFirefox
  • isMac
  • isMobile

Reactive helpers

  • selector
  • usePrevious
  • useSelector

Utilities

  • getValue
  • version

Random

  • random
  • chance
  • randomBetween
  • randomColor
  • randomId
  • randomSeeded

String

  • string
  • capitalizeFirstLetter
  • copyToClipboard
  • dashesToCamelCase
  • diff
  • ensureString
  • hash
  • isEmoji
  • label
  • short
  • toString
  • validateEmail
  • wholeNumber

Color

  • color
  • alpha
  • blend
  • darken
  • eyeDropper
  • getLuminance
  • lighten
  • scale
  • textColor
  • textColorWhenBackgroundIsBlack
  • textColorWhenBackgroundIsWhite
  • validateColor

Time

  • time
  • date
  • datetime
  • day
  • measure
  • now
  • timeWithSeconds
  • timing
  • useElapsed
  • useStopwatch
  • useTimeout

DOM

  • dom
  • activeElement
  • addClass
  • addPart
  • cleanJSXText
  • createComment
  • createElement
  • createElementNS
  • createTextNode
  • createTreeWalker
  • document
  • documentElement
  • DocumentFragment
  • getDocumentForElement
  • getValueElement
  • hasAttribute
  • head
  • importNode
  • isConnected
  • isPlaying
  • querySelector
  • querySelectorAll
  • removeAttribute
  • removeClass
  • removePart
  • setAttribute
  • toDiff
  • tokenList
  • walkElements

Test

  • test
  • $
  • $$
  • body
  • childNodes
  • head
  • isProxy
  • macrotask
  • microtask
  • rerenders
  • sleep
  • sleepLong