Skip to content

Commit

Permalink
add attr. to the first example
Browse files Browse the repository at this point in the history
  • Loading branch information
ECorreia45 committed Dec 11, 2023
1 parent b833daa commit 3e03ae7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs-src/documentation/conditional-attributes.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default ({
${CodeSnippet(
'const disabled = true;\n' +
'\n' +
'html`<button disabled="${disabled}">click me</button>`;',
'html`<button attr.disabled="${disabled}">click me</button>`;',
'typescript'
)}
<p>
Expand Down

0 comments on commit 3e03ae7

Please sign in to comment.