@equinor/fusion-wc-formfield
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

fusion-wc-checkbox Published on npm

Storybook

Material Web Component

Installation

npm install @equinor/fusion-wc-formfield

Example 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

Readme

Keywords

none

Package Sidebar

Install

npm i @equinor/fusion-wc-formfield

Weekly Downloads

1,204

Version

1.1.1

License

ISC

Unpacked Size

82.5 kB

Total Files

14

Last publish

Collaborators

  • gustav-eikaas
  • eslsa
  • martinforre
  • _odin_