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

Class XSixth

test/WebCell.spec.tsx:151–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149
150 it('should extend Original HTML tags', () => {
151 @component({
152 tagName: 'x-sixth',
153 extends: 'blockquote',
154 mode: 'open'
155 })
156 class XSixth extends HTMLQuoteElement {
157 render() {
158 return (
159 <>
160 💖
161 <slot />
162 </>
163 );
164 }
165 }
166 renderer.render(<blockquote is="x-sixth">test</blockquote>);
167
168 const element = document.querySelector('blockquote');

Callers

nothing calls this directly

Calls 1

componentFunction · 0.90

Tested by

no test coverage detected