mirror of
				https://github.com/flynx/actions.js.git
				synced 2025-10-31 11:20:10 +00:00 
			
		
		
		
	docs...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									79e544c7c3
								
							
						
					
					
						commit
						9197a62585
					
				
							
								
								
									
										13
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								README.md
									
									
									
									
									
								
							| @ -281,6 +281,17 @@ action_set.on('action_name.pre', function(){ | |||||||
| 
 | 
 | ||||||
| **Alias** | **Alias** | ||||||
| 
 | 
 | ||||||
|  | ```javascript | ||||||
|  |     // ... | ||||||
|  | 
 | ||||||
|  |     fullAlias: ['Alias to .full(..) action...', | ||||||
|  |         'This alias will call the .full(..) action and pass it a couple of arguments', | ||||||
|  | 		// the alias code... | ||||||
|  |         'full: "argument" 1'], | ||||||
|  | 
 | ||||||
|  |     // ... | ||||||
|  | ``` | ||||||
|  | 
 | ||||||
| - an action created by `Alias(..)`, | - an action created by `Alias(..)`, | ||||||
| - identical to an action with one key difference: instead of a  | - identical to an action with one key difference: instead of a  | ||||||
|   function `Alias(..)` expects a string/code, |   function `Alias(..)` expects a string/code, | ||||||
| @ -290,6 +301,8 @@ action_set.on('action_name.pre', function(){ | |||||||
|   actions are mainly load-time entities. |   actions are mainly load-time entities. | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  | XXX add doc about the code format... | ||||||
|  | 
 | ||||||
| 
 | 
 | ||||||
| ### The action system main protocols: | ### The action system main protocols: | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user