Skip to content

Commit 838da06

Browse files
Show/Hide/Disable/Disabled/node/cred/jsonate
1 parent f628c64 commit 838da06

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

docs/api/ui/typedInput/index.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ chosen, including options for string, number and boolean types.
2323
<div class="col-4-12">
2424
<h3>Methods</h3>
2525
<table>
26+
<tr><td><a href="#methods-disable">disable</a></td></tr>
27+
<tr><td><a href="#methods-disabled-get">disabled</a></td></tr>
28+
<tr><td><a href="#methods-hide">hide</a></td></tr>
29+
<tr><td><a href="#methods-show">show</a></td></tr>
2630
<tr><td><a href="#methods-type">type</a></td></tr>
2731
<tr><td><a href="#methods-types">types</a></td></tr>
2832
<tr><td><a href="#methods-validate">validate</a></td></tr>
@@ -80,8 +84,11 @@ identifier | description
8084
`json` | a valid JSON string
8185
`bin` | a Node.js Buffer
8286
`re` | a Regular Expression
87+
`jsonata` | a Jsonata Expression
8388
`date` | the current timestamp
8489
`env` | an environment variable
90+
`node` | a `node.` property expression
91+
`cred` | a secure credential
8592

8693
```javascript
8794
$(".input").typedInput({
@@ -108,6 +115,40 @@ $(".input").typedInput({
108115

109116
<a name="methods-type"></a>
110117

118+
#### <a href="#methods-disable" name="methods-disable">disable()</a>
119+
120+
Disable the typedInput when it is currently enabled.
121+
122+
```javascript
123+
$(".input").typedInput('disable');
124+
```
125+
126+
#### <a href="#methods-disabled-get" name="methods-disabled-get">disabled()</a>
127+
128+
<span class="method-return">Returns: Boolean</span>
129+
130+
Gets whether the typedInput is currently disabled or not.
131+
132+
```javascript
133+
$(".input").typedInput('disabled');
134+
```
135+
136+
#### <a href="#methods-hide" name="methods-hide">hide()</a>
137+
138+
Hide the typedInput when it is currently visible.
139+
140+
```javascript
141+
$(".input").typedInput('hide');
142+
```
143+
144+
#### <a href="#methods-show" name="methods-show">show()</a>
145+
146+
Show the typedInput when it is currently hidden.
147+
148+
```javascript
149+
$(".input").typedInput('show');
150+
```
151+
111152
#### <a href="#methods-type-get" name="methods-type-get">type()</a>
112153

113154
<span class="method-return">Returns: String</span>

0 commit comments

Comments
 (0)