MCPcopy Create free account
hub / github.com/breck7/scroll / renderNav

Method renderNav

external/.slideshow.js:55–64  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53 }
54
55 renderNav() {
56 const that = this
57 jQuery(".slideshowNav").html(this.nav).show()
58 jQuery(".slideshowNav a").on("click", function (event) {
59 event.preventDefault()
60 that.page = parseInt(jQuery(this).attr("href").replace("#", ""))
61 that.renderAll()
62 window.location.hash = "#" + that.page
63 })
64 }
65
66 page = 1
67

Callers 1

renderAllMethod · 0.95

Calls 2

replaceMethod · 0.80
renderAllMethod · 0.80

Tested by

no test coverage detected