Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 897 Bytes

buttons.examples.custom-checkbox.use-case.md

File metadata and controls

20 lines (16 loc) · 897 Bytes

2.3: Buttons Custom checkbox value example

Primary Actor: User

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

Goal: Show user button example with custom checkbox value

Main success scenario:

  1. User opens Buttons demo page
  2. User clicks on Custom checkbox value sub-menu
  3. User see 1 clickable button with text: "Single Toggle" and "1" putted in the custom checkbox value field above it
  4. Button should be active by default with aria-pressed= "false"
  5. When user clicks on the Single Toggle button, it becomes active and aria-pressed changed to "true". In the custom checkbox value shown "1"
  6. When user clicks on it again, the Single Toggle button becomes inactive with aria-pressed= "false", and the custom checkbox value changed to "0"

Variations:

2*. User scrolls to Custom checkbox value sub-menu