NbMediaBreakpointsService
Manages media breakpoints
Provides access to available media breakpoints to convert window width to a configured breakpoint, e.g. 200px - xs breakpoint
Methods
| Name | Description |
| getBreakpoints() | returns: NbMediaBreakpoint[]Returns a list of configured breakpoints for the theme |
| getBreakpointsMap() | returns: {[breakpoint: string]: number}Returns a map of configured breakpoints for the theme |
| getByName() | parameters: name: returns:stringNbMediaBreakpoint
Returns a configured breakpoint by name |
| getByWidth() | parameters: width: returns:numberNbMediaBreakpointReturns a configured breakpoint by width |
Previous page
JSThemesRegistry
Next page
Need some help or found an issue?
Ask on Stack Overflow with tag `nebular` or post an issue on GitHub.
