md-sidenav: make it automatically responsive
未关闭
area: material/sidenav
feature
P3
- 主要语言
- TypeScript
- 星标
- 25k
- 派生
- 6.8k
- 平均合并
- 1 天 8 小时
- 30 天内合并 PR
- 91
描述
_Feature request_
Version: Angular Material 2.0.0-alpha.7 wax-umpire
I'd like to have an option where the sidenav can be responsive automatically, by having a breakpoint where the sidenav is shown by default when the width is higher than X.
This was already implemented in Angular Material (1) as the `md-is-locked-open`: https://material.angularjs.org/latest/api/directive/mdSidenav
Is there any plan to have this? I could submit a PR if this is wanted.
贡献指南
调研方向
首先查看 md-sidenav 组件的入口点,以及 issue 中链接的 Angular Material 1 的 md-is-locked-open 行为。定义 responsive 选项和 breakpoint 的语义,然后验证 sidenav 的默认可见性是否会在所要求的宽度下发生变化,并确认该行为已由项目的相关测试覆盖。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- angular, typescript
- 领域
- frontend
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 25/100