You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 88dfeae
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: adev/src/content/guide/elements.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ The `createCustomElement()` function converts a component into a class that can
39
39
After you register your configured class with the browser's custom-element registry, use the new element just like a built-in HTML element in content that you add directly into the DOM:
40
40
41
41
```html
42
-
<my-popupmessage="Use Angular!"></my-popup>
42
+
<my-popupmessage="Use Angular!" />
43
43
```
44
44
45
45
When your custom element is placed on a page, the browser creates an instance of the registered class and adds it to the DOM.
0 commit comments