This component can render the mhs:dataClass and mhs:displayClass paged-publications-row.
Methods
-
nextPage
-
Navigate to the next page.
-
onInit
-
Initiated when component is created. Runs code necessary for block configuration.
-
prevPage
-
Navigate to the previous page.
-
scrollToTop
-
Use JQuery to animate the scroll back to the top of the page. This is used when pages are updated. NOTE: This should be in a directive link function, but since it's the only use of DOM manipulation in this component I didn't think it was worth converting the component to a directive.
-
setPage (page)
-
Set the page number
Parameters:
Name Type Description page a number representing the page to navigate to