0.4.2 • Published 2 years ago

mofron-comp-formitem v0.4.2

Weekly downloads
102
License
MIT
Repository
github
Last release
2 years ago

mofron-comp-formitem

mofron is module based frontend framework.

base component for form item.

this component has some function for form item.

extending this class makes it easier to develop form item components.

Attention

  • it needs to overwrite at extending class since some functions is an interface.

Install

npm install mofron   mofron-comp-formitem

Parameter

ShortFormParameter NameTypeDescription
labelmixedstring: label text
mofron-comp-text: text component for label
undefined: call as getter
horizonbooleantrue: horizontal placing (form item is placed next to a label)
false: normal placing (form item is placed under a label)
undefined: call as getter
requiredbooleantrue: required item (An error is detected if data is sent when empty this item data)
false: not required item
undefined: call as getter
focusbooleantrue: focus this item
false: defocus this item
undefined: call as getter
focusEventfunctionevent function
undefined: call as getter
mixedfunction parameter
statusbooleantrue: change enable mode default
false: change disable mode
undefined: call as getter
enabled
disabled
sendKeystringsend key
undefined: call as getter
heightstring (size)item height (if horizon function is false and visible function is true, height will be bisected.)
undefined: call as getter
key-valuestyle option
0.4.2

2 years ago

0.4.1

3 years ago

0.4.0

3 years ago

0.3.1

3 years ago

0.3.0

4 years ago

0.2.4

4 years ago

0.2.3

4 years ago

0.2.2

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.13

5 years ago

0.1.12

5 years ago

0.1.11

5 years ago

0.1.10

5 years ago

0.1.9

5 years ago

0.1.8

6 years ago

0.1.7

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago