Skip to content

Commit 89dfc02

Browse files
committed
Fix comment about ref directive
1 parent ef6984c commit 89dfc02

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/lit-dev-content/site/docs/templates/directives.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1683,7 +1683,7 @@ will be called bound to the host element automatically.
16831683
class MyElement extends LitElement {
16841684

16851685
render() {
1686-
// Passing ref directive a change callback
1686+
// Passing a change callback to ref directive
16871687
return html`<input ${ref(this.inputChanged)}>`;
16881688
}
16891689

@@ -1697,7 +1697,7 @@ class MyElement extends LitElement {
16971697
class MyElement extends LitElement {
16981698

16991699
render() {
1700-
// Passing ref directive a change callback
1700+
// Passing a change callback to ref directive
17011701
return html`<input ${ref(this.inputChanged)}>`;
17021702
}
17031703

0 commit comments

Comments
 (0)