MCPcopy Create free account
hub / github.com/neomjs/neo / createExampleComponent

Method createExampleComponent

examples/form/fieldset/MainContainer.mjs:62–85  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60 }
61
62 createExampleComponent() {
63 return Neo.create({
64 module: Fieldset,
65 title : 'My Fieldset',
66 width : 300,
67
68 itemDefaults: {
69 labelWidth: 120,
70 module : NumberField,
71 maxValue : 300,
72 minValue : 0,
73 value : 10
74 },
75
76 items : [{
77 labelText: 'Field 1'
78 }, {
79 disabled : true,
80 labelText: 'Field 2'
81 }, {
82 labelText: 'Field 3'
83 }]
84 })
85 }
86}
87
88export default Neo.setupClass(MainContainer);

Callers

nothing calls this directly

Calls 1

createMethod · 0.45

Tested by

no test coverage detected