Skip to content

Implement window breakpoints from Material guidelines #9212

@odahcam

Description

@odahcam

Bug, feature request, or proposal:

feature request

What is the expected behavior?

That BreakpointObserver has all Material guidelines breakpoints.

What is the current behavior?

BreakpointObserver has the handset breakpoints and the web breakpoints (which isn't in the guidelines).

What is the use-case or motivation for changing an existing behavior?

Be true to the Material guidelines specs and improve usability of the lib by allowing the user to not have to write more MediaMatcher code (media queries by hand) to achieve something in the guidelines.

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Angular Material ^5.0.0

Is there anything else we should know?

Maybe a usefull image.

image

So the breakpoints could be:

Breakpoints += [ WindowXSmall, WindowSmall, WindowMedium, WindowLarge, WindowXLarge ]

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedThe team would appreciate a PR from the community to address this issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions