Skip to content

Commit

Permalink
docs(pencil): fix typo in Recommended Use and Version Control
Browse files Browse the repository at this point in the history
fix `clement` to `element`
  • Loading branch information
sun-mota committed Oct 18, 2024
1 parent 5ff9241 commit 12a9bc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/partials/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ Don't combine `disabled` and `loading` attributes on any single instance of `aur

## Recommended Use and Version Control

There are two important parts of every Auro component. The <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes">class</a> and the custom clement. The class is exported and then used as part of defining the Web Component. When importing this component as described in the <a href="#install">install</a> section, the class is imported and the `auro-button` custom element is defined automatically.
There are two important parts of every Auro component. The <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes">class</a> and the custom element. The class is exported and then used as part of defining the Web Component. When importing this component as described in the <a href="#install">install</a> section, the class is imported and the `auro-button` custom element is defined automatically.

To protect from versioning conflicts with other instances of the component being loaded, it is recommended to use our `AuroButton.register(name)` method and pass in a unique name.

Expand Down

0 comments on commit 12a9bc8

Please sign in to comment.