hi {this.attr1}
- State
- {JSON.stringify(state.toJS(), null, 2)}
Change the state in the browser...
var el = document.querySelector('x-widget');
el.state.set('a' , 42)
el.state.set('b' , 'foo')
el.state.set('c' , ['bar', 'baz'])
{JSON.stringify(result.errors, null, 2)}
Fix the errors in the console first. E.g.
var el = document.querySelector('x-widget')
el.int = '2'
el.prop1 = []