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

How we can expand the accordion #53

Open
arushigargwipro opened this issue Jun 7, 2022 · 0 comments
Open

How we can expand the accordion #53

arushigargwipro opened this issue Jun 7, 2022 · 0 comments

Comments

@arushigargwipro
Copy link

arushigargwipro commented Jun 7, 2022

When i use the code of NDS accordion the accordion is not expanding is there any dependencies i have to install?

I am using the below code only:

<ul class="nds-accordion">
  <li class="nds-accordion__list-item">
    <section class="nds-accordion__section ">
      <div class="nds-accordion__summary">
        <h3 class="nds-text-heading_small nds-accordion__summary-heading">
          <button aria-controls="accordion-details-01" aria-expanded="true" class="nds-button nds-button_reset nds-accordion__summary-action">
            <svg class="nds-accordion__summary-action-icon nds-button__icon nds-button__icon_left" aria-hidden="true">
              <use xlink:href="./assets/icons/utility-sprite/svg/symbols.svg#switch"></use>
            </svg>
            <span class="nds-truncate" title="Accordion summary">Accordion summary</span>
          </button>
        </h3>
        <button class="nds-button nds-button_icon nds-button_icon-border-filled nds-button_icon-x-small nds-shrink-none" aria-haspopup="true">
          <svg class="nds-button__icon" aria-hidden="true">
            <use xlink:href="./assets/icons/utility-sprite/svg/symbols.svg#down"></use>
          </svg>
          <span class="nds-assistive-text">More Options</span>
        </button>
      </div>
      <div aria-hidden="false" class="nds-accordion__content" id="accordion-details-01">Accordion details - A</div>
    </section>
  </li>
jkunjoonju18 pushed a commit that referenced this issue Nov 28, 2022
W-12119719 : ESM Mass discount panel styling changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant