(props)
| 84 | static widgetType = "Text" |
| 85 | |
| 86 | constructor(props) { |
| 87 | super(props) |
| 88 | |
| 89 | this.state = { |
| 90 | ...this.state, |
| 91 | size: { width: 120, height: 80 }, |
| 92 | attrs: { |
| 93 | ...this.state.attrs, |
| 94 | // placeHolder: { |
| 95 | // label: "PlaceHolder", |
| 96 | // tool: Tools.INPUT, // the tool to display, can be either HTML ELement or a constant string |
| 97 | // toolProps: {placeholder: "text", maxLength: 100}, |
| 98 | // value: "placeholder text", |
| 99 | // onChange: (value) => this.setAttrValue("placeHolder", value) |
| 100 | // } |
| 101 | |
| 102 | } |
| 103 | } |
| 104 | } |
| 105 | |
| 106 | componentDidMount(){ |
| 107 | super.componentDidMount() |
nothing calls this directly
no outgoing calls
no test coverage detected