JSPM

ms-uk-cities-and-towns

2.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 422
  • Score
    100M100P100Q88658F
  • License MIT

Exports a list of uk cities and towns for the modern slavery app into a usable format for hof select elements

Package Exports

  • ms-uk-cities-and-towns

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ms-uk-cities-and-towns) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Modern Slavery UK Cities and Towns

Exports a list of UK Cities and Towns to be used in the modern slavery app.

Can be used with the Typeahead Aria, which is exported with HOF Frontend Assets.

Example Usage

The following is an example of Modern Slavery UK Cities and Towns in a HOF field with Typeahead Aria:

'country-select'-step: {
  mixin: 'select',
  className: ['typeahead', 'js-hidden'],
  options: [''].concat(require('ms-uk-cities-and-towns')),
  legend: {
    className: 'visuallyhidden'
  },
  validate: ['required']
},