()
| 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 | |
| 88 | export default Neo.setupClass(MainContainer); |