From 7dc0982b70b517f332c9846851ab8ffa0033824a Mon Sep 17 00:00:00 2001 From: Evgenii Khramkov Date: Wed, 17 Feb 2021 11:09:03 +0300 Subject: [PATCH] Export all for VKUI --- src/index.ts | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/src/index.ts b/src/index.ts index a98053c4..475a7a00 100644 --- a/src/index.ts +++ b/src/index.ts @@ -146,3 +146,36 @@ export { localStorage, sessionStorage, } from './storage'; + +export { + hasMouse, + hasHover, + hasTouchEvents, + hasTouch, +} from './InputUtils'; + +export { + canUseDOM, + canUseEventListeners, + onDOMLoaded, +} from './dom'; + +export { + IPHONE_SAFARI_BOTTOM_BAR, + IPHONE_X_SAFARI_BOTTOM_BAR, + IPHONE_KEYBOARD_REJECT_OFFSET, + IOS_NO_KEYBOARD_ALLOWED_OFFSET, + detectIOS, + isIPad, + isIPhone, + isIOS, + isIPadOS, + iosMajor, + iosMinor, + isWKWebView, + isScrollBasedViewport, + isIPhoneX, + isIOSChrome, + isLandscapePhone, + checkIPadOS, +} from './IOSDetections';