Home > widget-integration > SlickInstance > slick
SlickInstance.slick() method
Executes a Slick carousel method.
Signature:
slick(options: SlickOptions | string, ...args: unknown[]): SlickInstance;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
options |
SlickOptions | string |
Either a configuration object for initialization, or a method name string (e.g., 'slickNext', 'slickPrev', 'slickGoTo') |
|
args |
unknown[] |
Additional arguments for the specified method (e.g., slide index for 'slickGoTo') |
Returns:
The Slick instance for method chaining