Skip to content

Commit

Permalink
Fix comment about ref directive (#1126)
Browse files Browse the repository at this point in the history
  • Loading branch information
38elements committed May 19, 2023
1 parent 4d73d7b commit 9e86ce3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/lit-dev-content/site/docs/v2/templates/directives.md
Original file line number Diff line number Diff line change
Expand Up @@ -1692,7 +1692,7 @@ will be called bound to the host element automatically.
class MyElement extends LitElement {

render() {
// Passing ref directive a change callback
// Passing a change callback to ref directive
return html`<input ${ref(this.inputChanged)}>`;
}

Expand All @@ -1706,7 +1706,7 @@ class MyElement extends LitElement {
class MyElement extends LitElement {

render() {
// Passing ref directive a change callback
// Passing a change callback to ref directive
return html`<input ${ref(this.inputChanged)}>`;
}

Expand Down

0 comments on commit 9e86ce3

Please sign in to comment.