@polargold/pg-frontend-vue
Preparing search index...
useBreakpoint
Function useBreakpoint
useBreakpoint
()
:
{
is2xl
:
ComputedRef
<
boolean
>
;
is2xlAndDown
:
ComputedRef
<
boolean
>
;
is2xlAndUp
:
ComputedRef
<
boolean
>
;
isLg
:
ComputedRef
<
boolean
>
;
isLgAndDown
:
ComputedRef
<
boolean
>
;
isLgAndUp
:
ComputedRef
<
boolean
>
;
isMd
:
ComputedRef
<
boolean
>
;
isMdAndDown
:
ComputedRef
<
boolean
>
;
isMdAndUp
:
ComputedRef
<
boolean
>
;
isSm
:
ComputedRef
<
boolean
>
;
isSmAndDown
:
ComputedRef
<
boolean
>
;
isSmAndUp
:
ComputedRef
<
boolean
>
;
isXl
:
ComputedRef
<
boolean
>
;
isXlAndDown
:
ComputedRef
<
boolean
>
;
isXlAndUp
:
ComputedRef
<
boolean
>
;
}
Can be used to render code conditionally based on window width.
Returns
{
is2xl
:
ComputedRef
<
boolean
>
;
is2xlAndDown
:
ComputedRef
<
boolean
>
;
is2xlAndUp
:
ComputedRef
<
boolean
>
;
isLg
:
ComputedRef
<
boolean
>
;
isLgAndDown
:
ComputedRef
<
boolean
>
;
isLgAndUp
:
ComputedRef
<
boolean
>
;
isMd
:
ComputedRef
<
boolean
>
;
isMdAndDown
:
ComputedRef
<
boolean
>
;
isMdAndUp
:
ComputedRef
<
boolean
>
;
isSm
:
ComputedRef
<
boolean
>
;
isSmAndDown
:
ComputedRef
<
boolean
>
;
isSmAndUp
:
ComputedRef
<
boolean
>
;
isXl
:
ComputedRef
<
boolean
>
;
isXlAndDown
:
ComputedRef
<
boolean
>
;
isXlAndUp
:
ComputedRef
<
boolean
>
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@polargold/pg-frontend-vue
Loading...
Can be used to render code conditionally based on window width.