@equinor/fusion-wc-formfield
v1.1.2
Published
Formfield web component based on Material UI
Keywords
Readme
fusion-wc-checkbox 
Installation
npm install @equinor/fusion-wc-formfieldExample Usage
<fwc-formfield label='My label' nowrap>
<fwx-checkbox />
</fwc-formfield>Properties/Attributes
API
Slots
Name | Description --------- | ----------- default | The input element that this form field provides a label for.
Properties/Attributes
Name | Type | Description
------- | -------- | ----------------------------------
label | string | The text to display for the label and sets a11y label on input. (visually overriden by slotted label)
alignEnd | boolean | Align the component at the end of the label.
spaceBetween | boolean | Add space between the component and the label as the formfield grows.
nowrap | boolean | Prevents the label from wrapping and overflow text is ellipsed.
Methods
None
Events
None
