InputNumber

自定义数值输入框元素

As of 2021-09-22. See the latest version.

This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @require https://update.greasyfork.org/scripts/432807/972863/InputNumber.js

Author
Laster2800 Liang
Version
0.0.1.20210922141045
Created
2021-09-22
Updated
2021-09-22
Size
4.83 KB
License
N/A

InputNumber

自定义数值输入框元素。

<input is="laster2800-input-number" value="5.6" min="-2.8" max="10" digits="2">

使用 min / max 限制范围,digits 设置精度。可使用上下方向键(配合 Alt/Shift/Ctrl)调整数值大小。

Source: Gitee / GitHub - by Laster2800