Web Component: j-Display
j-Display
- jComponent
v19|v20
The component measures a display size according to the current element. It uses WIDTH() method and appends a CSS class in the form jc-DISPLAY_SIZE:
jc-xsextra small display (mobile phone)jc-smsmall display (tablet)jc-mdmedium display (laptop)jc-lglarge display (desktop computer)
Configuration:
delay{Number}a delay for obtaining of size (default:100ms)- NEW:
xs{Number}a maximum width for the extra small display (default:768) - NEW:
sm{Number}a maximum width for the small display (default:992) - NEW:
md{Number}a maximum width for the medium display (default:1200)
The component calculates the interval between displays automatically. The default display type is lg.
Author
- Peter Širka petersirka@gmail.com
- License
Created
21. december 2021
Updated
27. august 2024
jComponent library
19 | 20
Version
v1
License
https://www.totaljs.com/license/
Dark mode
Yes
Responsive
Yes
Author
Peter Širka
Email
petersirka@gmail.com

