Releases: AleTid5/screen-resizing
Releases · AleTid5/screen-resizing
v1.1.0
The hook exports the following data:
- Boolean isMiniMobile: Determines if the viewport is the same as a very small Mobile.
- Boolean isMobile: Determines if the viewport is the same as a Mobile.
- Boolean isTablet: Determines if the viewport is the same as a Tablet.
- Boolean isUsingPC: Determines if the viewport is the same as a PC (Notebook or a Screen PC).
- Boolean isNotebook: Determines if the viewport is the same as a Notebook.
- Boolean isScreen: Determines if the viewport is the same as a Screen PC.
- Function screenGT (greater than): Receives a screen value parameter and compares if it's greater than the viewport width screen.
- Function screenGTE (greater or equal than): Receives a screen value parameter and compares if it's greater or equal than the viewport width screen.
- Function screenLT (lesser than): Receives a screen value parameter and compares if it's lesser than the viewport width screen.
- Function screenLTE (lesser or equal than): Receives a screen value parameter and compares if it's lesser or equal than the viewport width screen.
- Property width: The viewport realtime width size.
- Property height: The viewport realtime height size.