UNPKG

survey-core

Version:

A framework-independent core of the SurveyJS Form Library that works with rendering packages. Use it to integrate dynamic, interactive JSON-based forms and surveys into your app, collect user responses, and send them to your own database.

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;