UNPKG

@egjs/flicking

Version:

Everyday 30 million people experience. It's reliable, flexible and extendable carousel.

16 lines (15 loc) 467 B
/** * Decorator that makes the method of flicking available in the framework. * @internal * @example * ```js * import Flicking, { withFlickingMethods } from "@egjs/flicking"; * * class Flicking extends React.Component<Partial<FlickingProps & FlickingOptions>> { * &#64;withFlickingMethods * private flicking: Flicking; * } * ``` */ declare const withFlickingMethods: (prototype: any, flickingName: string) => void; export default withFlickingMethods;