Components have built-in support for breakpoints. You can use them to change the behavior of components at different screen resolutions, using the breakpoints
option.
One of the useful features of breakpoints is the ability to destroy components at specific resolutions. To do this, you need to pass the destroy
property with the value true
in the breakpoint settings object.
When a breakpoint is triggered, a breakpoint
event fires.