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

feat(datepicker): mark today's date with a custom class #2940

Merged

Conversation

maxokorokov
Copy link
Member

Adds a custom CSS class .ngb-dp-today on a cell with today's date
and a custom today: boolean field in the day template context

Fixes #1470

Adds a custom CSS class `.ngb-dp-today` on a cell with today's date
and a custom `today: boolean` field in the day template context

Fixes ng-bootstrap#1470
@codecov-io
Copy link

Codecov Report

Merging #2940 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2940      +/-   ##
==========================================
+ Coverage   91.23%   91.23%   +<.01%     
==========================================
  Files          89       89              
  Lines        2885     2887       +2     
  Branches      475      475              
==========================================
+ Hits         2632     2634       +2     
  Misses        181      181              
  Partials       72       72
Impacted Files Coverage Δ
src/datepicker/datepicker-month-view.ts 100% <ø> (ø) ⬆️
src/datepicker/datepicker-tools.ts 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7ead849...a60d419. Read the comment docs.

@maxokorokov maxokorokov merged commit 6029304 into ng-bootstrap:master Feb 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants