the number in pixels to calculate the breakpoint for
Iterates over the currently loaded breakpoints and tries to find the first matching one for the current window width.
Makes sure that context.current is set. It will also try to load context.breakpoints if they are empty
Reads the css breakpoint definition using a custom marker element which is added to the dom tree for a short moment to read the breakpoint definition of the "font-family" css attribute. The given string will then be parsed as list of breakpoint objects.
Generated using TypeDoc
Returns the breakpoint instance that would be used for a given width in pixels