📄 dragpan.js
字号:
isc.Img.create({ left:50, top:50, width:200, height:200, overflow:"hidden", showEdges:true, padding:20, src:"other/cpu.jpg", imageType:"normal", canDrag: true, cursor: "all-scroll", dragAppearance: "none", dragStart: function () { this.startScrollLeft = this.getScrollLeft(); this.startScrollTop = this.getScrollTop(); }, dragMove: function () { this.scrollTo( this.startScrollLeft - isc.Event.lastEvent.x + isc.Event.mouseDownEvent.x, this.startScrollTop - isc.Event.lastEvent.y + isc.Event.mouseDownEvent.y ) }})
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -