MCPcopy Create free account
hub / github.com/MankaiHuang/screen-visualization / changePage

Function changePage

public/iframe/lib/js/mixinsComponents.js:1991–1995  ·  view source on GitHub ↗
(index)

Source from the content-addressed store, hash-verified

1989 this.totalPage = Math.ceil(total / pageSize)
1990 },
1991 changePage(index) {
1992 this.changeBluePrintConfig(this.config)
1993 vm.changeLinkTempalte(this.link, index + 1)
1994 this.currentPage = index
1995 }
1996 },
1997 template: `<ul class="pagination full" >
1998 <li :style="{backgroundColor:(currentPage == index)?option.activeBgColor:option.bgColor}" :class="{active:currentPage === index}" v-for="(item,index) in totalPage" :key="index" @click="changePage(index)"/>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected