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

Implement UsaNavPrimaryItemDropdown component #94

Closed
Tracked by #93
patrickcate opened this issue Oct 31, 2021 · 0 comments
Closed
Tracked by #93

Implement UsaNavPrimaryItemDropdown component #94

patrickcate opened this issue Oct 31, 2021 · 0 comments
Assignees
Labels
feature New feature or request

Comments

@patrickcate
Copy link
Owner

patrickcate commented Oct 31, 2021

Nav Primary Item Dropdown

Individual primary item dropdown for UsaNavPrimaryItem component.

Props

Name Type Default Required Options
submenu-items Array n/a true n/a
open Boolean false false n/a

Slots

  • default: scoped to all props

CSS Classes

  • None

External Libraries

  • None

Sub-Components

  • None

Dependencies

  • v-toggle

Notes

  • None

Tests

  1. The default content renders correctly.
  2. When a menu is expanded the aria-expanded attribute is set to true.
  3. When a menu is collapsed the aria-expanded attribute is set to false.
  4. The aria-controls attribute values matches the submenu's content id attribute.
  5. When a menu is collapsed, the submenu has the attribute hidden applied.
@patrickcate patrickcate changed the title UsaNavPrimaryItemDropdown Implement UsaNavPrimaryItemDropdown component Oct 31, 2021
@patrickcate patrickcate added the feature New feature or request label Nov 11, 2021
@patrickcate patrickcate self-assigned this Dec 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant