@mocanvas/editor · type

TLExitEventHandler

type TLExitEventHandler<Info = unknown> = (info: Info, to: string) => void

Called as a state node becomes inactive. to is the id of the state being entered.

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.