• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

jumpinjackie / mapguide-react-layout / 15160437878

21 May 2025 11:00AM UTC coverage: 21.631% (-42.6%) from 64.24%
15160437878

Pull #1552

github

web-flow
Merge 8b7153d9e into 236e2ea07
Pull Request #1552: Feature/package updates 2505

839 of 1165 branches covered (72.02%)

11 of 151 new or added lines in 25 files covered. (7.28%)

1332 existing lines in 50 files now uncovered.

4794 of 22163 relevant lines covered (21.63%)

6.89 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/utils/mobile-browser.ts
1
/**
1✔
2
 * Checks if this browser supports touch events
3
 * 
4
 * @returns true if this browser suports touch events
5
 * @since 0.15
6
 */
NEW
7
export function supportsTouch() {
×
NEW
8
    return 'ontouchstart' in document.documentElement;
×
NEW
9
}
×
10

11
/**
12
 * 
13
 * 
14
 * @param minWidthPx The minimum viewport width in pixels. Default is 767px if not specified
15
 * @returns true if the viewport is mobile
16
 * @since 0.15
17
 */
NEW
18
export function isMobileViewport(minWidthPx = 767) {
×
NEW
19
    return window.matchMedia(`(max-width: ${minWidthPx}px)`).matches;
×
NEW
20
}
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc