alphagov / govuk-frontend

GOV.UK Frontend contains the code you need to start building a user interface for government platforms and services.
https://frontend.design-system.service.gov.uk/
MIT License
1.16k stars 320 forks source link

Create RFC for passing options to components in Javascript #1223

Closed hannalaakso closed 5 years ago

hannalaakso commented 5 years ago

The purpose is to collect some feedback from the community on adding a programmatic API for the components, in addition to the data API we already use.

This would also fix https://github.com/alphagov/govuk-frontend/pull/1215 without making a breaking change.

NickColley commented 5 years ago

Started a spike into this https://github.com/alphagov/govuk-frontend/pull/1238

NickColley commented 5 years ago

We are closing this as we thought this was the best way to solve https://github.com/alphagov/govuk-frontend/pull/1215 but now we need more evidence that there's a need for this work, so can explore this again in the future.