Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Commit 8ce644c

Browse files
committed
WIP: Replace hard-coded string in README with fully-qualified enum ref
1 parent f331dae commit 8ce644c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/mdc-animation/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,9 @@ Function | Description
9595
These functions handle prefixing across various browsers
9696

9797
```js
98-
import {getCorrectEventName} from '@material/animation';
98+
import {getCorrectEventName, StandardJsEventType} from '@material/animation';
9999

100-
const eventToListenFor = getCorrectEventName(window, 'animationstart');
100+
const eventToListenFor = getCorrectEventName(window, StandardJsEventType.ANIMATION_START);
101101
```
102102

103103
Method Signature | Description

0 commit comments

Comments
 (0)