feat(case-converter): added mocking case (#705)
This commit is contained in:
		
							parent
							
								
									f5eb7a8c49
								
							
						
					
					
						commit
						681f7bf644
					
				| @ -73,6 +73,13 @@ const formats = computed(() => [ | |||||||
|     label: 'Snakecase:', |     label: 'Snakecase:', | ||||||
|     value: snakeCase(input.value, baseConfig), |     value: snakeCase(input.value, baseConfig), | ||||||
|   }, |   }, | ||||||
|  |   { | ||||||
|  |     label: 'Mockingcase:', | ||||||
|  |     value: noCase(input.value, baseConfig) | ||||||
|  |       .split('') | ||||||
|  |       .map((char, index) => (index % 2 === 0 ? char.toUpperCase() : char.toLowerCase())) | ||||||
|  |       .join(''), | ||||||
|  |   }, | ||||||
| ]); | ]); | ||||||
| 
 | 
 | ||||||
| const inputLabelAlignmentConfig = { | const inputLabelAlignmentConfig = { | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user