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

Function _pagingDynamic

external/.datatables.js:12301–12319  ·  view source on GitHub ↗

* Dynamically create the button type array based on the configuration options. * This will only happen if the paging type is not defined.

(opts)

Source from the content-addressed store, hash-verified

12299 * This will only happen if the paging type is not defined.
12300 */
12301 function _pagingDynamic(opts) {
12302 var out = []
12303
12304 if (opts.numbers) {
12305 out.push("numbers")
12306 }
12307
12308 if (opts.previousNext) {
12309 out.unshift("previous")
12310 out.push("next")
12311 }
12312
12313 if (opts.firstLast) {
12314 out.unshift("first")
12315 out.push("last")
12316 }
12317
12318 return out
12319 }
12320
12321 function _pagingDraw(settings, host, opts) {
12322 if (!settings._bInitComplete) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected