MCPcopy Index your code
hub / github.com/XIU2/UserScript / set

Function set

Autopage.user.js:2851–2858  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2849 }
2850 // 监听储存当前页码的对象值的变化
2851 function set(){
2852 Object.defineProperty(pageNum, 'now', {
2853 set: function(value) {
2854 this._now = value;
2855 if (status) status.textContent = value;
2856 }
2857 });
2858 }
2859 function del(){
2860 if (!status) return
2861 status.style.display = 'none';

Callers 2

pageNumberFunction · 0.85
addFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected