MCPcopy Create free account
hub / github.com/EasyWebApp/WebCell / XFourth

Class XFourth

test/WebCell.spec.tsx:80–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78 interface XFourth extends WebCell<XFourthProps> {}
79
80 @component({ tagName: 'x-fourth' })
81 @observer
82 class XFourth extends HTMLElement implements WebCell<XFourthProps> {
83 @attribute
84 @observable
85 accessor name: string | undefined;
86
87 render() {
88 return <h2>{this.name}</h2>;
89 }
90 }
91 renderer.render(<XFourth />);
92
93 const tag = document.body.lastElementChild as XFourth;

Callers

nothing calls this directly

Calls 1

componentFunction · 0.90

Tested by

no test coverage detected