Skip to main content
Version: Next

flickingReactiveAPIAdapter

function flickingReactiveAPIAdapter(onInit: , onDestroy: , setMethods: )

Internal reactive API adapter for Flicking that manages state and event listeners
This adapter is used internally by framework-specific packages (react-flicking, vue-flicking, etc.)
to provide reactive API support. Users rarely need to use this directly.

Returns:

  • Reactive object with Flicking state and methods
PARAMETERTYPEOPTIONALDEFAULTDESCRIPTION
onInitCallback when reactive object is initialized
onDestroyCallback when reactive object is destroyed
setMethodsFunction to set available methods