Main abilities | ||
---|---|---|
narrowWidth | [[narrowWidth]] | Mobile/tablet+, (600px or less) |
isTouch | [[isTouch]] | false: no browser support null: browser support true: touchstart has occurred |
uaIsDesktop | [[uaIsDesktop]] | User requested desktop site |
isMobile | [[isMobile]] | Material design + UA/media check |
Material design breakpoints | |
---|---|
windowExtraSmall | [[windowExtraSmall]] |
windowSmall | [[windowSmall]] |
windowMedium | [[windowMedium]] |
windowLarge | [[windowLarge]] |
windowExtraLarge | [[windowExtraLarge]] |
mobileSmallPortrait | [[mobileSmallPortrait]] |
mobileMediumPortrait | [[mobileMediumPortrait]] |
mobileLargePortrait | [[mobileLargePortrait]] |
tabletSmallPortrait | [[tabletSmallPortrait]] |
tabletLargePortrait | [[tabletLargePortrait]] |
mobileSmallLandscape | [[mobileSmallLandscape]] |
mobileMediumLandscape | [[mobileMediumLandscape]] |
mobileLargeLandscape | [[mobileLargeLandscape]] |
tabletSmallLandscape | [[tabletSmallLandscape]] |
tabletLargeLandscape | [[tabletLargeLandscape]] |
Others | |
isTablet | [[isTablet]] |
isDesktop | [[isDesktop]] |
isFullscreen | [[isFullscreen]] |
windowHeight | [[windowHeight]] |
windowWidth | [[windowWidth]] |
windowAspect | [[windowAspect]] |
screenHeight | [[screenHeight]] |
screenWidth | [[screenWidth]] |
screenAspect | [[screenAspect]] |
mediaHandheld | [[mediaHandheld]] |
mediaScreen | [[mediaScreen]] |
mediaPrint | [[mediaPrint]] |
mediaTv | [[mediaTv]] |
portrait | [[portrait]] |
landscape | [[landscape]] |
uaIsMobile | [[uaIsMobile]] |
uaIsTablet | [[uaIsTablet]] |