mirror of
				https://github.com/flynx/PortableMag.git
				synced 2025-10-31 20:10:13 +00:00 
			
		
		
		
	fixed an error in docs...
This commit is contained in:
		
							parent
							
								
									f4be51c97b
								
							
						
					
					
						commit
						539cfde7a4
					
				| @ -19,7 +19,7 @@ | |||||||
| //
 | //
 | ||||||
| // elem is a jquery compatible object; default use-case: a css selector.
 | // elem is a jquery compatible object; default use-case: a css selector.
 | ||||||
| //
 | //
 | ||||||
| // if class_list is a list, the resulting function understands the 
 | // if class_list is a string, the resulting function understands the 
 | ||||||
| // folowing arguments:
 | // folowing arguments:
 | ||||||
| // 	- <index>		: 0 for 'off' and 1 for 'on' (see below)
 | // 	- <index>		: 0 for 'off' and 1 for 'on' (see below)
 | ||||||
| // 	- 'on'			: switch mode on -- add class
 | // 	- 'on'			: switch mode on -- add class
 | ||||||
| @ -27,7 +27,7 @@ | |||||||
| // 	- '?'			: return current state ('on'|'off')
 | // 	- '?'			: return current state ('on'|'off')
 | ||||||
| // 	- no arguments	: toggle the state
 | // 	- no arguments	: toggle the state
 | ||||||
| //
 | //
 | ||||||
| // otherwise:
 | // otherwise, if class_list is a list of strings:
 | ||||||
| //  - <index>		: explicitly set the state to index in class_list
 | //  - <index>		: explicitly set the state to index in class_list
 | ||||||
| //  - <class-name>	: explicitly set a class from the list
 | //  - <class-name>	: explicitly set a class from the list
 | ||||||
| // 	- '?'			: return current state ('on'|'off')
 | // 	- '?'			: return current state ('on'|'off')
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user