Skip to content

Commit

Permalink
docs: fix a couple of random typos (#43878)
Browse files Browse the repository at this point in the history
PR Close #43878
  • Loading branch information
gkalpak authored and AndrewKushnir committed Oct 18, 2021
1 parent 58c1186 commit e88ab20
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion aio/content/guide/reusable-animations.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Before continuing with this topic, you should be familiar with the following:

## Creating reusable animations

To create a reusable animation, use the <code>[animation](api/animations/animation)()</code> function to define an animation in a separate `.ts` file and declare this animation definition as a `const` export variable. You can then import and reuse this animation in any of your application components using the <code>[useAnimation](api/animations/useAnimation)</a>()</code> function.
To create a reusable animation, use the <code>[animation](api/animations/animation)()</code> function to define an animation in a separate `.ts` file and declare this animation definition as a `const` export variable. You can then import and reuse this animation in any of your application components using the <code>[useAnimation](api/animations/useAnimation)()</code> function.

<code-example path="animations/src/app/animations.1.ts" header="src/app/animations.ts" region="animation-const" language="typescript"></code-example>

Expand Down
4 changes: 2 additions & 2 deletions packages/elements/src/create-custom-element.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,8 @@ export function createCustomElement<P>(
override connectedCallback(): void {
// For historical reasons, some strategies may not have initialized the `events` property
// until after `connect()` is run. Subscribe to `events` if it is available before running
// `connect()` (in order to capture events emitted suring inittialization), otherwise
// subscribe afterwards.
// `connect()` (in order to capture events emitted during initialization), otherwise subscribe
// afterwards.
//
// TODO: Consider deprecating/removing the post-connect subscription in a future major version
// (e.g. v11).
Expand Down

0 comments on commit e88ab20

Please sign in to comment.