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

Horizontal Layout #1

Open
alexfriesen opened this issue Nov 24, 2023 · 0 comments
Open

Horizontal Layout #1

alexfriesen opened this issue Nov 24, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@alexfriesen
Copy link
Owner

This Project is missing the horizontal Layout that is described in the Material Design Specs

For this feature a new state is needed: type OrientationState = 'auto' | 'vertical' | 'horizontal' with auto as default.
To enforce a specific behavior it can be set to: horizontal or vertical.

Setting the orientation could look something like this:

<ngx-mat-timepicker orientation="auto" />
<ngx-mat-timepicker orientation="vertical" />
<ngx-mat-timepicker orientation="horizontal" />

Auto-Orientation could be wired up with the breakpointObserver from @angular/cdk/layout and listen to orientation: landscape changes.

@alexfriesen alexfriesen added the enhancement New feature or request label Nov 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant