JSPM

  • Created
  • Published
  • Downloads 277
  • Score
    100M100P100Q86579F
  • License Apache-2.0

Package Exports

  • @featherds/input-helper

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 (@featherds/input-helper) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

How to use InputWrapper

To make the input wrapper easier to use we have also created a mixin that goes along with it.

<InputWrapper :for="inputId" :raised="isRaised" :focused="focused">
  ....
</InputWrapper>
  • for should be an ID of the input control that the label is for.
  • raised should be set to true when the label needs to be raised.
  • focused should be set to true when the wrapper needs to be in a focused state.

InputSubText

<InputSubText :id="descriptionId"></InputSubText>
  • id should be the ID you want the subText to have. This ID is generally used in an aria-describedby.