Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • BreakpointContext

Index

Constructors

constructor

Properties

breakpoints

breakpoints: null | Map<string, Breakpoint>

Holds the list of all breakpoints or null if non are defined/found

container

container: string

Configure the container selector to create the breakpoint marker in (DEFAULT: 'body')

current

current: null | Breakpoint

Holds the current, calculated breakpoint

Optional inTemplateSelector

inTemplateSelector: string

Can be used if multi-layered templates are required to get the correct element to read the css definition from. If given the service will try to find an element with this selector inside the template element instead of getting the css rules from the element itself.

template

template: string

The html template to append to the breakpointContainer (DEFAULT: '

') This element should hold the css configuration of the breakpoints in its font-face definition. If you provide a nested element like <div ...><div ...>
make sure to add a "inTemplateSelector" to select your child element you want to use as breakpoint bearer

Generated using TypeDoc