* Returns the current page number of the presentation.
()
| 2 | * Returns the current page number of the presentation. |
| 3 | */ |
| 4 | function currentPosition() { |
| 5 | return parseInt(document.querySelector('.slide:not(.hidden)').id.slice(6)); |
| 6 | } |
| 7 | |
| 8 | |
| 9 | /** |
no outgoing calls
no test coverage detected