| Server IP : 209.209.40.120 / Your IP : 216.73.217.112 Web Server : Microsoft-IIS/10.0 System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586 User : NEWWWW$ ( 0) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/framework7/node_modules/swiper/types/modules/ |
Upload File : |
import type Swiper from '../swiper-class.d.ts';
export interface KeyboardMethods {
/**
* Whether the keyboard control is enabled
*/
enabled: boolean;
/**
* Enable keyboard control
*/
enable(): void;
/**
* Disable keyboard control
*/
disable(): void;
}
export interface KeyboardEvents {
/**
* Event will be fired on key press
*/
keyPress: (swiper: Swiper, keyCode: string) => void;
}
export interface KeyboardOptions {
/**
* Set to `true` to enable keyboard control
*
* @default false
*/
enabled?: boolean;
/**
* When enabled it will control sliders that are currently in viewport
*
* @default true
*/
onlyInViewport?: boolean;
/**
* When enabled it will enable keyboard navigation by Page Up and Page Down keys
*
* @default true
*/
pageUpDown?: boolean;
}