import { Component, h, State } from '@stencil/core';
const textA = 'A';
const spanA = A;
const divA =
A
;
const textB = 'B';
const spanB = B;
const divB = B
;
const divC = C
;
@Component({
tag: 'slot-basic-root',
})
export class SlotBasicRoot {
@State() inc = 1;
testClick() {
this.inc++;
}
render() {
return (
Rendered: {this.inc}
{textA}
{textB}
{textA}
{spanB}
{textA}
{divB}
{spanA}
{textB}
{spanA}
{spanB}
{spanA}
{divB}
{divA}
{textB}
{divA}
{spanB}
{divA}
{divB}
{divA}
{divC}
);
}
}