@rws-framework/components
Version:
19 lines (15 loc) • 570 B
text/typescript
import { attr, observable } from '@microsoft/fast-element';
import { RWSViewComponent, RWSView } from '@rws-framework/client';
('reformer-text')
class ReFormerText extends RWSViewComponent {
name: string;
defaultValue: string = null;
value: string = null;
setForm: (field: string, value: any) => Promise<void>;
connectedCallback(): void {
super.connectedCallback();
this.value = this.defaultValue;
}
}
ReFormerText.defineComponent();
export { ReFormerText };