Skip to content

Commit a74cc3d

Browse files
keithamusmuan
andauthored
docs(your-first-component): adjust wording
Co-authored-by: Mu-An 慕安 <me@muanchiou.com>
1 parent 877f9a5 commit a74cc3d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/_guide/your-first-component.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Remember! A class name _must_ include at least two CamelCased words (not includi
4242

4343
### What does `@controller` do?
4444

45-
Catalyst components are really just "Custom Elements", they're doing all the heavy lifting. Custom Elements allow you to create reusable components that you can declare in HTML, and [progressively enhance](https://en.wikipedia.org/wiki/Progressive_enhancement) within JavaScript. Custom Elements must named with a `-` in the HTML name, and the JS class must `extend HTMLElement`. When the browser connects each element class instance to the DOM node, `connectedCallback` is fired - this is where you can change parts of the element. Here's a basic example:
45+
Catalyst components are really just "Custom Elements", they're doing all the heavy lifting. Custom Elements allow you to create reusable components that you can declare in HTML, and [progressively enhance](https://en.wikipedia.org/wiki/Progressive_enhancement) within JavaScript. Custom Elements must be named with a `-` in the tag name, and the JS class must `extends HTMLElement`. When the browser connects each element class instance to the DOM node, `connectedCallback` is fired - this is where you can change parts of the element. Here's a basic example:
4646

4747
```html
4848
<hello-world></hello-world>

0 commit comments

Comments
 (0)