Skip to content

Commit e67b48d

Browse files
authored
Update index.md
1 parent f677ca7 commit e67b48d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

elements/pfe-readtime/docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ This component functions purely as inline-content and does not require any focus
4848
## Attributes
4949

5050
- `word-count`: allows you to manually set the number of words to use in the readtime calculations. Example: `word-count="2500"` will set the component to use 2500 words in it's calculations.
51-
-`wpm`: Is the attribute used to store the average words per minute readtime for each supported country. For more information on these you can read [https://irisreading.com/average-reading-speed-in-various-languages](https://irisreading.com/average-reading-speed-in-various-languages) and [https://iovs.arvojournals.org/article.aspx?articleid=216606](https://iovs.arvojournals.org/article.aspx?articleid=216606).
51+
- `wpm`: Is the attribute used to store the average words per minute readtime for each supported country. For more information on these you can read [https://irisreading.com/average-reading-speed-in-various-languages](https://irisreading.com/average-reading-speed-in-various-languages) and [https://iovs.arvojournals.org/article.aspx?articleid=216606](https://iovs.arvojournals.org/article.aspx?articleid=216606).
5252
- `template`: Rather than use the light DOM region to provide the string template, you can also pass in the value via this attribute. Note that %t will be replaced with the computed readtime.
5353
- `lang`: By default the component will look to the language specified on the html tag but it can also accept an override via this attribute on a component level.
5454
- `for`: Specify the selector of the content you want to capture the word-count from. Whatever you enter into this attribute will be found using `document.querySelector(<for attribute value>)`.

0 commit comments

Comments
 (0)