Skip to content

Releases: tutkli/ngx-breakpoint-observer

v3.0.0

20 Jan 16:44
24d6b56
Compare
Choose a tag to compare
  • Updated project to Angular 19.

BREAKING CHANGES:

  • The functions observeBreakpoints and observeMediaQuery have been deprecated in favor of injectBreakpoints and injectMediaQuery.
    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

06 Aug 21:46
f09585c
Compare
Choose a tag to compare

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