blob: 782156bb4733330955e8511ceb3be6b5566bcea9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
---
title: increment
slug: Mozilla/Tech/XUL/Attribute/increment
translation_of: Archive/Mozilla/XUL/Attribute/increment
---
<div class="noinclude">
<span class="breadcrumbs xulRefAttr_breadcrumbs">« <a href="/zh-CN/docs/XUL_Reference">XUL Reference home</a></span></div>
<dl>
<dt>
<code id="a-increment"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/increment">increment</a></code></dt>
<dd>
类型:整数</dd>
<dd>
拖动刻度条控件(<code>scale</code>元素)中的拉杆,点击滚动条控件(<code>scrollbar</code>元素)中的箭头(拖动拉杆也可以),点击数字输入框(<code>type</code>属性为<code>number</code>的<code>textbox</code>元素)中的箭头时,其<code id="a-curpos"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/curpos">curpos</a></code>属性或者value属性每次改变的数字值,默认值为1.</dd>
</dl>
|