Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 918 Bytes

datepicker.examples.custom-today-class.use-case.md

File metadata and controls

22 lines (18 loc) · 918 Bytes

5.22: Datepicker Custom today class

Primary Actor: User

Scope: Ngx-bootstrap DEMO / BS version 3&4

Goal: Show user how to set custom class for today date

Main success scenario:

  1. User opens Datepicker demo page
  2. User clicks on Custom today class sub-menu
  3. User see 1 input for Datepicker
  4. When user clicks on the "DatePicker" input then container opened and no one date selected by default
  5. Current today date have specific class name "custom-today-class"
  6. When user chose any date, then this date chosen and shown in the input
  7. When user clicks on input again, then previous date selected and current date still with "custom-today-class"
  8. When user chose today date and click on datepicker input again, then current date selected and still with "custom-today-class"

Variations:

2*. User scroll to Custom today class