Skip to content

Commit c891b9b

Browse files
committed
Merge branch 'pr_199'
2 parents 80d7072 + c777556 commit c891b9b

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

docs/api/ui/typedInput/index.md

Lines changed: 45 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,44 @@ $(".input").typedInput({
108115

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

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

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

0 commit comments

Comments
 (0)