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
3361608b
Commit
3361608b
authored
Jul 25, 2017
by
custom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Creates 前端组件/hlsMaskedTextBox.md
Auto commit by GitBook Editor
parent
c7c880ba
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
67 additions
and
0 deletions
+67
-0
hlsMaskedTextBox.md
前端组件/hlsMaskedTextBox.md
+0
-0
kendo-tag-maskedTextBox.md
前端组件/kendo-tag-maskedTextBox.md
+67
-0
No files found.
前端组件/hlsMaskedTextBox.md
0 → 100644
View file @
3361608b
File added
前端组件/kendo-tag-maskedTextBox.md
0 → 100644
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