mirror of
https://github.com/DavidHDev/vue-bits.git
synced 2026-03-07 06:29:30 -07:00
[ FIX ] : TextType CursorCharacter Options
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
</div>
|
||||
|
||||
<Customize>
|
||||
<PreviewSelect v-model="cursorCharacter" :options="['|', '_', '█', '▌', '▐']" title="Cursor Character" />
|
||||
<PreviewSelect v-model="cursorCharacter" :options="cursorOptions" title="Cursor Character" />
|
||||
<PreviewSlider v-model="typingSpeed" title="Typing Speed" :min="10" :max="200" :step="5" value-unit="ms" />
|
||||
<PreviewSlider
|
||||
v-model="pauseDuration"
|
||||
@@ -99,6 +99,14 @@ const cursorBlinkDuration = ref(0.5);
|
||||
|
||||
const { rerenderKey: key } = useForceRerender();
|
||||
|
||||
const cursorOptions = [
|
||||
{ value: '_', label: 'Underscore (_)' },
|
||||
{ value: '|', label: 'Pipe (|)' },
|
||||
{ value: '▎', label: 'Block (▎)' },
|
||||
{ value: '●', label: 'Dot (●)' },
|
||||
{ value: '█', label: 'Full Block (█)' }
|
||||
];
|
||||
|
||||
const propData = [
|
||||
{
|
||||
name: 'text',
|
||||
|
||||
Reference in New Issue
Block a user