mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-04-25 01:06:15 -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:',
|
||||
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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue