Commit b9873953 authored by custom's avatar custom

Updates 前端组件/hlsMaskedTextBox.md

Auto commit by GitBook Editor
parent 6b587111
## hlsMaskedTextBox ## MaskedTextBox
格式框 格式框
##### xml配置 ##### xml配置
```xml ```xml
<!--h:为命名空间,必须要加的;hlsMaskedTextBox为组件名;id可写可不写--> <!--h:为命名空间,必须要加的;maskedTextBox为组件名;id可写可不写-->
<h:hlsMaskedTextBox id="hlsMaskedTextBox"/> <h:maskedTextBox id="maskedTextBox"/>
``` ```
#### **一般属性** #### **一般属性**
...@@ -33,13 +33,13 @@ ...@@ -33,13 +33,13 @@
用法示例: 用法示例:
```xml ```xml
<h:hlsMaskedTextBox id="hlsMaskedTextBox" required="true" placeholder="hlsMaskedTextBox"/> <h:maskedTextBox id="maskedtTextBox" required="true" placeholder="maskedTextBox" clearButton="true"/>
``` ```
> **提示:** > **提示:**
> >
> * 上述所有属性直接添加在标签内即可,(**\[\*\***属性名\]**\*\* = "..."**) > * 上述所有属性直接添加在标签内即可,(**\[****属性名\]**** = "..."**)
#### **子标签** #### **子标签**
...@@ -54,9 +54,9 @@ function rules(){ ...@@ -54,9 +54,9 @@ function rules(){
``` ```
```xml ```xml
<h:hlsMaskedTextBox id="hlsMaskedTextBox"> <h:maskedTextBox id="maskedtTextBox">
<h:rules "~"="/[+-]/" "^"="fn:rules"/> <h:rules "~"="/[+-]/" "^"="fn:rules"/>
</h:hlsMaskedTextBox> </h:maskedTextBox>
``` ```
> **提示**: > **提示**:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment