Skip to content

Commit

Permalink
Update packages/web-components/fast-element/ARCHITECTURE.md
Browse files Browse the repository at this point in the history
Co-authored-by: John Kreitlow <[email protected]>
  • Loading branch information
janechu and radium-v authored Oct 30, 2024
1 parent 22c33d5 commit 561904f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web-components/fast-element/ARCHITECTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This document explains various logical flows for how a `FASTElement` is composed

- The `compose` method combines the Custom Element name, template, style, and other options to create the definition for the Custom Element.
- The `define` method makes use of the native Custom Element [`define()`](https://developer.mozilla.org/en-US/docs/Web/API/CustomElementRegistry/define) to register the Custom Element with a Custom Element Registry.
- The `from` method allows the use of Custom Built-Ins so that a user does not need to define a template but can specify a native `HTMLElement` such as `HTMLButtonElement`.
- The `from` method allows the use of Customized Built-in elements, which extend from native elements such as `HTMLButtonElement`.

## Creating a Custom Element from FASTElement

Expand Down

0 comments on commit 561904f

Please sign in to comment.