Skip to content

Commit

Permalink
fix(module: drawer): synchronize code and documentation (#311)
Browse files Browse the repository at this point in the history
  • Loading branch information
BronzeCui authored and fisherspy committed Feb 28, 2019
1 parent 58e88ca commit 1d53a15
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/drawer/doc/index.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ subtitle: 抽屉
| touch | 是否开启触摸手势 | Boolean | true |
| transitions | 是否开启动画 | Boolean | true |
| docked | 是否嵌入到正常文档流里 | Boolean | false |
| enableDragHandle | 是否禁止 dragHandle | Boolean | false |
| enableDragHandle | 是否启用 dragHandle | Boolean | false |
| dragToggleDistance | 打开关闭抽屉时距 sidebar 的拖动距离 | Number | 30 |
2 changes: 1 addition & 1 deletion components/drawer/drawer.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export class DrawerComponent implements AfterViewChecked, OnChanges {
@Input()
touch: boolean = true;
@Input()
enableDragHandle: boolean = true;
enableDragHandle: boolean = false;
@Input()
dragToggleDistance: number = 30;
@Input()
Expand Down

0 comments on commit 1d53a15

Please sign in to comment.