-
Notifications
You must be signed in to change notification settings - Fork 225
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
datePicker 实现文本框中弹出日期范围选择 #9
Comments
补充一下,就是用一个文本框实现的那种,而不是两个文本框(开始日期和结束日期)实现,两个文本框很容易,但是想求教能不能实现的更理想一些 |
@leeguiman 现在这个我是用ng-bootstrap的,我自己也没有研究 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
大神,datePicker 怎么实现popup的Range select;看api半天没有什么头绪,
<ng-template #t let-date="date" let-focused="focused">
<span class="custom-day"
[class.focused]="focused"
[class.range]="isFrom(date) || isTo(date) || isInside(date) || isHovered(date)"
[class.faded]="isHovered(date) || isInside(date)"
(mouseenter)="hoveredDate = date"
(mouseleave)="hoveredDate = null">
{{ date.day }}
这个代码块不知道该怎么处理,求指导,拜谢!!!
The text was updated successfully, but these errors were encountered: