Releases: tutkli/ngx-breakpoint-observer
Releases · tutkli/ngx-breakpoint-observer
v3.0.0
- Updated project to Angular 19.
BREAKING CHANGES:
- The functions
observeBreakpoints
andobserveMediaQuery
have been deprecated in favor ofinjectBreakpoints
andinjectMediaQuery
.
This change emphasizes that the new functions are intended to be used within an injection context.
What's Changed
Full Changelog: v2.0.0...v3.0.0
v2.0.0
Improvements include:
- allow to use signals to get breakpoints
myPoint = signal<keyof typeof breakpointsTailwind>('sm')
xs = this.breakpoints.smallerOrEqual(this.myPoint) // use the signal without calling it!
- strategy and window options
- new active function
- material and bootstrap breakpoints preset