align.js
来自「javascript 很酷的类库」· JavaScript 代码 · 共 31 行
JS
31 行
isc.TabSet.create({
ID: "tabSet",
tabBarPosition: "top",
tabBarAlign: "right",
width: 300,
height: 200,
tabs: [
{title: "Blue", icon: "pieces/16/pawn_blue.png",
pane: isc.Img.create({autoDraw: false, width: 48, height: 48, src: "pieces/48/pawn_blue.png"})},
{title: "Green", icon: "pieces/16/pawn_green.png",
pane: isc.Img.create({autoDraw: false, width: 48, height: 48, src: "pieces/48/pawn_green.png"})}
]
});
isc.TabSet.create({
tabBarPosition: "left",
tabBarAlign: "bottom",
width: 200,
height: 300,
left: 350,
tabs: [
{icon: "pieces/16/pawn_blue.png",
pane: isc.Img.create({autoDraw: false, width: 48, height: 48, src: "pieces/48/pawn_blue.png"})},
{icon: "pieces/16/pawn_green.png",
pane: isc.Img.create({autoDraw: false, width: 48, height: 48, src: "pieces/48/pawn_green.png"})}
]
});
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?