Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(breakpoints): support custom breakpoints and enhanced selectors #204

Merged
merged 1 commit into from
Mar 14, 2017

Commits on Mar 14, 2017

  1. feat(breakpoints): support custom breakpoints and enhanced selectors

    * Modify providers to support global services for MediaMonitor and ObservableMonitor
      * uses PROVIDER_FACTORY solutions to check for parent/global instance
    * Add **FlexLayoutModule.provideBreakPoints()** to easily
      * add custom breakpoints to defaults
      * add orientation breakpoints to defaults
      * replace defaults with custom breakpoints
    * Add extended breakpoints from Material 2:
      * implementat breakpoints for **handset**, **tablet**, **web**
      * implementation breakpoints with orientations for *Portrait* and *Landscape*
    * Deprecated responsive uses of `class.<xx>` and `style.<xx>` selectors
      * Developers should use **`ngClass.<xx>`** and **`ngStyle.<xxx>`** selectors
    * Add selectors for **`lt-sm`**, **`lt-md`**, **`lt-lg`**, **`lt-xl`**
      * update mock-match-media fallback rules
    * Update **ObservableMedia** and **MediaMonitor** to use orientation breakpoints
      * also support custom breakpoints (if registered)
    ThomasBurleson committed Mar 14, 2017
    Configuration menu
    Copy the full SHA
    b574c15 View commit details
    Browse the repository at this point in the history