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

Method createExampleComponent

examples/form/field/text/MainContainer.mjs:188–205  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

186 }
187
188 createExampleComponent() {
189 return Neo.create(TextField, {
190 clearable : true,
191 labelPosition: 'inline',
192 labelText : 'Label',
193 labelWidth : 70,
194 minLength : 3,
195 value : 'Hello World',
196 width : 200,
197
198 listeners: {
199 change(value) {
200 this.down({reference: 'error-field'}).clear();
201 },
202 scope: this
203 }
204 })
205 }
206}
207
208export default Neo.setupClass(MainContainer);

Callers

nothing calls this directly

Calls 1

createMethod · 0.45

Tested by

no test coverage detected