Skip to content

Commit 16b26cd

Browse files
committed
Update README.md
1 parent 7734add commit 16b26cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ parser.addListener("endfontface", function(event){
196196
```
197197
### `startpage` and `endpage` events
198198

199-
The `startpage` event fires when `@page` is encountered and the `endfontface` event fires just after the closing right brace (`}`) is encountered after `@page`. The `event` object has two properties: `id`, which is the page ID, and `pseudo`, which is the page pseudo class. Example:
199+
The `startpage` event fires when `@page` is encountered and the `endpage` event fires just after the closing right brace (`}`) is encountered after `@page`. The `event` object has two properties: `id`, which is the page ID, and `pseudo`, which is the page pseudo class. Example:
200200
```js
201201
parser.addListener("startpage", function(event){
202202
console.log("Starting page with ID=" + event.id + " and pseudo=" + event.pseudo);

0 commit comments

Comments
 (0)