Skip to content

feat(accordion): Possible to customize the HTML ID items. - #513

Open
julien- wants to merge 2 commits into
openeuropa:developmentfrom
julien-:accordion_unique_id
Open

julien- wants to merge 2 commits into
openeuropa:developmentfrom
julien-:accordion_unique_id

Conversation

@julien-

@julien- julien- commented Feb 21, 2023 •

Copy link
Copy Markdown
Contributor

Look at https://www.era.europa.eu/can-we-help-you/faq/289 for sample.
Each accordion have its dedicated unique ID, not related to its position in the listing. So even if the webmaster change the order, it is possible to target with anchor an element.

Custom behaviors that can be provided if needed :

  • The "Copy" button
  • When you target an accordion, it will scroll and open to it.

@julien- julien- changed the title Accordion : Custom HTML ID. feat(accordion): Possible to customize the HTML ID items. Feb 23, 2023

This branch has not been deployed

No deployments
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

Successfully merging this pull request may close these issues.

1 participant