UNPKG

survey-core

Version:

survey.js is a JavaScript Survey Library. It is a modern way to add a survey to your website. It uses JSON for survey metadata and results.

15 lines (14 loc) 634 B
export declare const IsMobile: boolean; export declare var mouseInfo: { readonly isTouch: boolean; readonly hasTouchEvent: boolean; hasMouse: boolean; }; export declare let IsTouch: boolean; export declare function _setIsTouch(val: boolean): void; export declare function _setIsTablet(val: boolean | undefined): void; export declare function calculateIsTablet(windowWidth?: number, windowHeight?: number, tabletSizeBreakpoint?: number): boolean; export type MatchMediaMethod = ((query: string) => { matches: boolean; } | null) | null; export declare function detectMouseSupport(matchMedia: MatchMediaMethod): boolean;