2023-06-05 18:45:47 +08:00
|
|
|
html`
|
|
|
|
<style>
|
|
|
|
:host {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
</style>
|
2023-03-03 12:07:45 +08:00
|
|
|
|
2023-06-05 18:45:47 +08:00
|
|
|
<body>
|
|
|
|
<input type="button" @click=${e => this.click(e)} value="deadmau5 🐭" />
|
2023-03-03 12:07:45 +08:00
|
|
|
|
2023-06-05 18:45:47 +08:00
|
|
|
<div></div>
|
|
|
|
<div></div>
|
|
|
|
<div></div>
|
2023-03-03 12:07:45 +08:00
|
|
|
|
2023-06-05 18:45:47 +08:00
|
|
|
<h3>${['❤️', '💛', '💚', '💙', '💜', '🖤']}</h3>
|
|
|
|
</body>
|
|
|
|
`
|
2023-03-03 12:07:45 +08:00
|
|
|
|
2023-06-05 18:45:47 +08:00
|
|
|
bug(html` <div></div> `)
|
2023-03-03 12:07:45 +08:00
|
|
|
|
2023-06-05 18:45:47 +08:00
|
|
|
function bug() {
|
|
|
|
html`div...`
|
2023-03-03 12:07:45 +08:00
|
|
|
}
|
|
|
|
|
2023-06-05 18:45:47 +08:00
|
|
|
css`
|
|
|
|
:host {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
`
|
|
|
|
|
|
|
|
css`
|
|
|
|
:host {
|
|
|
|
display: block;
|
|
|
|
height: 50px;
|
|
|
|
}
|
|
|
|
`
|