UNPKG

638 BTypeScriptView Raw
1export interface HistoryMethods {}
2
3export interface HistoryEvents {}
4
5export interface HistoryOptions {
6 /**
7 * Swiper page root, useful to specify when you use Swiper history mode not on root website page.
8 * For example can be `https://my-website.com/` or `https://my-website.com/subpage/` or `/subpage/`
9 *
10 *
11 * @default ''
12 */
13 root?: string;
14
15 /**
16 * Works in addition to hashnav or history to replace current url state with the
17 * new one instead of adding it to history
18 *
19 * @default false
20 */
21 replaceState?: boolean;
22
23 /**
24 * Url key for slides
25 *
26 * @default 'slides'
27 */
28 key?: string;
29}