Skip to content

Commit 5d77516

Browse files
authored
Merge pull request #309 from node-red-hitachi/add-editablelist-cancel-method
add document for cancel operation of editableList
2 parents f0c8252 + ced6d05 commit 5d77516

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/api/ui/editableList/index.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ own right. Used by the core `Switch` and `Change` nodes.
5151
<tr><td><a href="#methods-show">show</a></td></tr>
5252
<tr><td><a href="#methods-sort">sort</a></td></tr>
5353
<tr><td><a href="#methods-length">length</a></td></tr>
54+
<tr><td><a href="#methods-cancel">cancel</a></td></tr>
5455
</table>
5556
</div>
5657
</div>
@@ -470,6 +471,16 @@ Gets the number of list items.
470471
var length = $("ol.list").editableList('length');
471472
```
472473

474+
#### <a href="#methods-show" name="methods-cancel">cancel()</a>
475+
476+
*Since 3.1.0*
477+
478+
Cancels an item sort operation on the list.
479+
480+
```javascript
481+
$("ol.list").editableList('cancel');
482+
```
483+
473484
<style>
474485

475486
.widget h3 {

0 commit comments

Comments
 (0)