Files
test-repo/tests/html_lwc/attributes.html
T
Nathan Totten a093bb3f7b Adds LWC Parser to support unquoted interop attributes (#5800)
This pull requests adds a new parser option `lwc`. This is the same as the HTML parser, but it adds support for unquoted HTML attributes per the needs of LWC. See: #5627
2019-02-01 13:58:50 +08:00

13 lines
293 B
HTML

<template>
<div
data-for={value}
data-for={value[0]}
data-for={value.toString()}
data-for={value()}
class="test"
></div>
</template>
<template if:true={value.error}>
<c-error-panel errors={value.error}></c-error-panel>
</template>
<a href="#" onclick={aFunction}>