1.3.0 • Published 2 years ago

@forter/form-section v1.3.0

Weekly downloads
14
License
Apache-2.0
Repository
github
Last release
2 years ago

fc-form-section

An element by Forter

Usage

<script>
   import '@forter/form-section';
</script>

<fc-form-section>
  <fc-form-field></fc-form-field>
</fc-form-section>

Properties

PropertyAttributeTypeDefaultDescription
alignalignstringAlignment of the form section (row/column)
collapsablecollapsablebooleanfalseIf the section is collapsable
collapsecollapsebooleanfalseIf the section is currently collapsed
dirtydirtybooleanfalseIf the section is dirty
disableddisabledbooleanfalseInternal Observables
invalidFieldsnever[]
isCollapsed"right" \| "down"
isSlottedLabel"" \| TemplateResult
labellabel"" \| TemplateResult
missingRequiredFieldsnever[]
model{}{}
touchedtouchedbooleanfalseIf the section was touched
validvalidbooleanfalseIf the section is valid

Events

Event
field-added

CSS Custom Properties

PropertyDescription
--fc-form-section-arrow-colorsection label arrow color (when section is collapsable) . default: "var(--fc-gray-700)"
--fc-form-section-colorsection font color. default: "balck"
--fc-form-section-label-font-sizesection label font size. default: "12px"
--fc-form-section-label-font-weightsection label font weight. default: "normal"
--fc-form-section-label-invalid-colorsection label color when the section is invalid. default: "var(--fc-red-900)"
--fc-form-section-label-margin-bottomsection label margin bottom. default: "0px"
--fc-form-section-margin-right-itemsection margin right of each field (row alignment only). default: "20px"
--fc-form-section-padding-leftsection padding left. default: "5px"
1.3.0

2 years ago

1.2.2

2 years ago

1.2.1

3 years ago

1.2.0

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago