Skip to content

Commit 97530fd

Browse files
committed
fixes in doc and playground
1 parent 9766899 commit 97530fd

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

README.md

+8
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,14 @@ The view is already refreshed when the user scrolls or resizes his window, but y
6969

7070
Don't display the footnotes anymore, don't listen to the scroll and resize events anymore.
7171

72+
#### addRefreshListener(listener)
73+
74+
The function passed will be called each time the view is refreshed.
75+
76+
#### removeRefreshListener(listener)
77+
78+
The function passed won't be called anymore when the view is refreshed.
79+
7280
### Example
7381

7482
````javascript

playground/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ <h1>fixed-footnotes</h1>
4646
padding: 5px;
4747
}
4848

49-
.fixed-footnotes-container.empty {
49+
.fixed-footnotes-container.fixed-footnotes-empty {
5050
display: none;
5151
}
5252

0 commit comments

Comments
 (0)