hof-frontend-assets

0.1.0 • Public • Published

HOF Frontend Assets

Frontend assets for building a form service with HOF Bootstrap.

Includes CSS, JS - including Typeahead Aria - and Images to create a web page with styled form elements and frontend JS, as documented in hof-frontend-toolkit.

Example usage

cd into the root of your project and edit package.json with the following;

"dependencies": {
  "hof-frontend-assets": "^0.1.0"
},
"scripts": {
  "postinstall": "hof-frontend-assets"
}

When you next run npm install, npm will install hof-frontend-assets@v0.1.0 and build the assets into /public.

Typeahead Aria

The Typeahead Aria code is a key feature of hof-frontend-assets that allows one to add a dropdown, typeahead countries list with aria to a select field.

Usage

To use Typeahead Aria, add class='typeahead' to the HTMLselect` element you wish to decorate.

Readme

Keywords

none

Package Sidebar

Install

npm i hof-frontend-assets

Weekly Downloads

2

Version

0.1.0

License

MIT

Last publish

Collaborators

  • dk4g
  • jamiecarterho
  • mylrajan
  • william-gu-hof
  • temitopeayoku
  • mdev246
  • vinodha.s
  • chisomoguibe
  • robertmccann
  • rhyad-zergane-ho
  • rhodine
  • mohameduwais
  • lennym
  • easternbloc
  • joefitter
  • coupey
  • sulthan-ahmed
  • andrew.moody.ho
  • aswann
  • robertdeniszczyc2
  • agraham19
  • aaron.robinson
  • sarahjaneluff
  • cmedland
  • hof-bot-user
  • josephchapman