UNPKG

@nextcloud/vue

Version:
18 lines (17 loc) 604 B
import { Ref } from 'vue'; /** The minimal width of the viewport for a desktop screen */ export declare const MOBILE_BREAKPOINT = 1024; /** The minimal width of the viewport for a small mobile screen, a half of the minimal desktop */ export declare const MOBILE_SMALL_BREAKPOINT: number; /** * Use global isMobile state * * @return Reactive flag for MOBILE_BREAKPOINT */ export declare function useIsMobile(): Readonly<Ref<boolean>>; /** * Use global isSmallMobile state * * @return Reactive flag for MOBILE_SMALL_BREAKPOINT */ export declare function useIsSmallMobile(): Readonly<Ref<boolean>>;