Registers a custom breakpoint map, enabling up, down and between.
Provide once at bootstrap, or at any injector level to scope/override breakpoints.
A MqBreakpoints map of names to minimum widths in pixels.
An Angular Provider.
bootstrapApplication(AppComponent, { providers: [provideBreakpoints({ sm: 640, md: 768, lg: 1024 })],}); Copy
bootstrapApplication(AppComponent, { providers: [provideBreakpoints({ sm: 640, md: 768, lg: 1024 })],});
Registers a custom breakpoint map, enabling up, down and between.
Provide once at bootstrap, or at any injector level to scope/override breakpoints.