input Context – PresentContext

const PresentContext: LiveContext<PresentContextProps>

Props

PresentAPI

goTo
( x: number, ) => void
goForward
() => void
goBack
() => void
isThread
( id: number, ) => boolean
isVisible
( id: number, ) => boolean
getVisibleState
( id: number, ) => number | null

useTransition

(
  id: number,
  enter: ParsedEffect,
  exit: ParsedEffect,
  initial?: number,
) => number

Other

state
{ step: number, length: number, }

Source

packages / present / src / providers / present-provider.ts

menu
format_list_numbered