mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-04-20 06:55:06 -04:00
feat(case-converter): added mocking case (#705)
This commit is contained in:
parent
f5eb7a8c49
commit
681f7bf644
1 changed files with 7 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue