Skip to content

Commit

Permalink
Update files/zh-cn/web/api/web_components/using_custom_elements/index.md
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
yin1999 and github-actions[bot] authored Nov 25, 2023
1 parent 7957378 commit 7935415
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,7 @@ class MyCustomElement extends HTMLElement {
}

attributeChangedCallback(name, oldValue, newValue) {
console.log(
`属性 ${name} 已由 ${oldValue} 变更为 ${newValue}`,
);
console.log(`属性 ${name} 已由 ${oldValue} 变更为 ${newValue}`);
}
}

Expand Down

0 comments on commit 7935415

Please sign in to comment.