@splidejs/splide-extension-url-hash
Version:
The extension of Splide for URL hash navigation.
15 lines • 600 B
TypeScript
import { BaseComponent, Components, Options, Splide } from '@splidejs/splide';
/**
* The extension for observing the URL hash change
* and moving the slider to the slide that is associated with the hash value.
*
* @since 0.2.0
*
* @param Splide - A Splide instance.
* @param Components - A collection of components.
* @param options - Options.
*
* @return A URLHash component object.
*/
export declare function URLHash(Splide: Splide, Components: Components, options: Options): BaseComponent;
//# sourceMappingURL=../../../../src/js/extensions/URLHash/URLHash.d.ts.map