- Reduce duplication with loadWebComponent() by making it a function & exporting

- Start to implement readonly attribute
This commit is contained in:
nathan
2021-08-19 10:54:32 -06:00
parent 0ea5e2e35f
commit b4a13037e2
5 changed files with 102 additions and 126 deletions

View File

@ -415,6 +415,10 @@ export const Et2InputWidget = <T extends Constructor>(superClass: T) =>
{
return {
...super.properties,
readonly: {
type: Boolean,
reflect: true
},
value: {attribute: false}
};
}