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
afab6579
Commit
afab6579
authored
Jul 25, 2017
by
custom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updates 前端组件/hlsMaskedTextBox.md
Auto commit by GitBook Editor
parent
3361608b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
67 deletions
+0
-67
hlsMaskedTextBox.md
前端组件/hlsMaskedTextBox.md
+0
-0
kendo-tag-maskedTextBox.md
前端组件/kendo-tag-maskedTextBox.md
+0
-67
No files found.
前端组件/hlsMaskedTextBox.md
View file @
afab6579
No preview for this file type
前端组件/kendo-tag-maskedTextBox.md
deleted
100644 → 0
View file @
3361608b
MaskedTextBox
-------------
格式框
##### xml配置
```
xml
<!--h:为命名空间,必须要加的;maskedTextBox为组件名;id可写可不写-->
<h:maskedTextBox
id=
"maskedTextBox"
/>
```
#### **一般属性**
> **提示:**
> - 属性用法请参考kendoui API文档的maskedTextBox:http://docs.telerik.com/kendo-ui/api/javascript/ui/maskedtextbox
属性名 | 类型
-------- | ---
clearPromptChar | Boolean
culture| String
mask | String
promptChar | String
unmaskOnPost | Boolean
value | String
change | Function
caseLetter | String
clearButton | Boolean
placeholder | String
bind | Function
required | Boolean
用法示例:
```
xml
<h:maskedTextBox
id=
"maskedtTextBox"
required=
"true"
placeholder=
"maskedTextBox"
clearButton=
"true"
/>
```
> **提示:**
> - 上述所有属性直接添加在标签内即可,(**[属性名] = "..."**)
#### **子标签**
属性名 | 类型
-------- | ---
rules| Object
```
javascript
function
rules
(){
//...
}
```
```
xml
<h:maskedTextBox
id=
"maskedtTextBox"
>
<h:rules
"~"="/[+-]/"
"^"="fn:rules"
/>
</h:maskedTextBox>
```
>**提示**:
> - 遇到**object**类型 就向下添加子标签,当遇到普通类型时,就添加到当前的标签上。
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