1.1.14 • Published 4 years ago

@singleware/ui-fieldset v1.1.14

Weekly downloads
10
License
MIT
Repository
github
Last release
4 years ago

UI-Fieldset

Custom HTML element used to mirror field properties in its first-level children.

State Attributes

NameDescription
emptyAutomatically assigned when all first-level children are empty
invalidAutomatically assigned when one or more first-level children are invalid

Mirrored Properties

NameDescription
valueGet or set an object with the name and value from all first-level children
requiredGet or set the required state into all first-level children
readOnlyGet or set the readOnly state into all first-level children
disabledGet or set the disabled state into all first-level children

Properties

NameDescription
typeGet or set the fieldset type
nameGet or set the fieldset name
emptyGet the empty state based on all first-level children
unwindGet or set the unwind state determining whether the value property must be unrolled or not
orientationGet and set the fieldset orientation. Use: row or column value

Methods

NameDescription
focusMove the focus to the first-level child that can be focused
resetReset all first-level children to its initial values
checkValidityCheck whether all first-level children are valid or not

Events

NameDescription
changeDispatched when some field in the fieldset is changed

Install

Using npm:

npm i @singleware/ui-fieldset

License

MIT © Silas B. Domingos

1.1.14

4 years ago

1.1.13

4 years ago

1.1.12

4 years ago

1.1.11

5 years ago

1.1.10

5 years ago

1.1.9

5 years ago

1.1.8

5 years ago

1.1.7

5 years ago

1.1.6

5 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.0

6 years ago