mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	Add editableList api doc comments
This commit is contained in:
		@@ -27,6 +27,9 @@
 | 
			
		||||
 *   - removable : boolean - whether to display delete button on items
 | 
			
		||||
 *   - addItem : function(row,index,itemData) - when an item is added
 | 
			
		||||
 *   - removeItem : function(itemData) - called when an item is removed
 | 
			
		||||
 *   - filter : function(itemData) - called for each item to determine if it should be shown
 | 
			
		||||
 *   - sort : function(itemDataA,itemDataB) - called to sort items
 | 
			
		||||
 *   - scrollOnAdd : boolean - whether to scroll to newly added items
 | 
			
		||||
 * methods:
 | 
			
		||||
 *   - addItem(itemData)
 | 
			
		||||
 *   - removeItem(itemData)
 | 
			
		||||
@@ -34,6 +37,9 @@
 | 
			
		||||
 *   - height(height)
 | 
			
		||||
 *   - items()
 | 
			
		||||
 *   - empty()
 | 
			
		||||
 *   - filter(filter)
 | 
			
		||||
 *   - sort(sort)
 | 
			
		||||
 *   - length()
 | 
			
		||||
 */
 | 
			
		||||
    $.widget( "nodered.editableList", {
 | 
			
		||||
        _create: function() {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user