Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hel-developer-guide
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenhao
hel-developer-guide
Commits
dea62a0d
Commit
dea62a0d
authored
Jul 27, 2017
by
Jefferyne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Deletes 前端组件/README.md
Auto commit by GitBook Editor
parent
63e921f9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
60 deletions
+3
-60
NumericTextBox.md
前端组件/NumericTextBox.md
+3
-2
README.md
前端组件/README.md
+0
-58
No files found.
前端组件/NumericTextBox.md
View file @
dea62a0d
##
NumericTextBox
## NumericTextBox
提示:以下配置,方法和事件均为个人了解到的,不代表组件的全部。
提示:以下配置,方法和事件均为个人了解到的,不代表组件的全部。
...
@@ -56,7 +56,8 @@
...
@@ -56,7 +56,8 @@
```
html
```
html
<input
id=
"numerictextbox"
/>
<input
id=
"numerictextbox"
/>
<script>
<script>
$
(
"#numerictextbox"
).
kendoNumericTextBox
({
$
(
"#numerictextbox"
).
kendoNumericTextBox
({
format
:
"p0"
,
format
:
"p0"
,
factor
:
100
,
factor
:
100
,
...
...
前端组件/README.md
deleted
100644 → 0
View file @
63e921f9
## NumericTextBox
### 配置:
##### 1.[culture](http://docs.telerik.com/kendo-ui/api/javascript/ui/numerictextbox#configuration-culture)[`String`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)_\(default: "en-US"\)_
```
<!--
TODO: Add the kendo.culture.de-DE.min.js file as it is required!
Here is a sample script tag:
<script src="http://kendo.cdn.telerik.com/{kendo version}/js/cultures/kendo.culture.de-DE.min.js"></script>
For more information check this help topic:http://docs.telerik.com/kendo-ui/framework/globalization/overview
-->
<input id="numerictextbox"/>
<script>
$("#numerictextbox").kendoNumericTextBox({culture:"de-DE"});
</script>
```
##### 2.[decimals](http://docs.telerik.com/kendo-ui/api/javascript/ui/numerictextbox#configuration-decimals)[`Number`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)_\(default: null\)_
```
<input id="numerictextbox"/>
<script>
$("#numerictextbox").kendoNumericTextBox({decimals:1});
</script>
```
##### 3.[downArrowText](http://docs.telerik.com/kendo-ui/api/javascript/ui/numerictextbox#configuration-downArrowText)[`String`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)_\(default: "Decrease value"\)_
```
<input id="numerictextbox"/>
<script>
$("#numerictextbox").kendoNumericTextBox({downArrowText:"Less"});
</script>
```
##### 4.[factor](http://docs.telerik.com/kendo-ui/api/javascript/ui/numerictextbox#configuration-factor)[`Number`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)_\(default: "1"\)_
```
<input id="numerictextbox"/>
<script>
$("#numerictextbox").kendoNumericTextBox({
format:"p0",
factor:100,
min:0,
max:1,
step:0.01
});
</script>
```
### 方法:
##### 1.[destroy](http://docs.telerik.com/kendo-ui/api/javascript/ui/numerictextbox#methods-destroy)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment