-
Notifications
You must be signed in to change notification settings - Fork 4k
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
refactor(module:date-picker): move class control to host #4207
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<nz-picker | ||
<div | ||
nz-picker | ||
[isRange]="isRange" | ||
[value]="nzValue" | ||
(valueChange)="onValueChange($event)" | ||
|
@@ -7,10 +8,11 @@ | |
[format]="nzFormat" | ||
[allowClear]="nzAllowClear" | ||
[autoFocus]="nzAutoFocus" | ||
[className]="nzClassName" | ||
[ngClass]="nzClassName" | ||
[style]="nzStyle" | ||
[ngStyle]="pickerStyle" | ||
Comment on lines
+11
to
+13
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 者几个属性应该是在 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 可以考虑废弃掉,让用户直接使用 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 是在 host 上生效的。 |
||
[placeholder]="nzPlaceHolder" | ||
[size]="nzSize" | ||
[style]="pickerStyle" | ||
[noAnimation]="noAnimation?.nzNoAnimation" | ||
(openChange)="onOpenChange($event)" | ||
> | ||
|
@@ -38,4 +40,4 @@ | |
(resultOk)="onResultOk()" | ||
(closePicker)="closeOverlay()" | ||
></date-range-popup> | ||
</nz-picker> | ||
</div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
空方法删掉?