* Create the HTML ID for the container of a page or a given anchor in it.
(
page: RevisionPageDocument | RevisionPageGroup,
anchor?: string
)
| 360 | * Create the HTML ID for the container of a page or a given anchor in it. |
| 361 | */ |
| 362 | function getPagePDFContainerId( |
| 363 | page: RevisionPageDocument | RevisionPageGroup, |
| 364 | anchor?: string |
| 365 | ): string { |
| 366 | return `pdf-page-${page.id}${anchor ? `-${anchor}` : ''}`; |
| 367 | } |
no outgoing calls
no test coverage detected