MCPcopy Create free account
hub / github.com/ThatGuySam/doesitarm / pageCount

Method pageCount

helpers/api/pagination.js:34–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32 }
33
34 get pageCount () {
35 return Math.ceil( this.total / this.perPage )
36 }
37
38 makePageItems ( pageNumber ) {
39 const start = (pageNumber - 1) * this.perPage

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected