Skip to content

ColorPicker

A Vue component.

File: src/components/common/ColorPicker.vue

Overview

Props

NameTypeDefaultRequiredDescription
colorstring'#5865f2'No description

Props Details

color

No description available.

  • Type: string
  • Required: No
  • Default: '#5865f2'

Events

NameParametersDescription
update:colorstringNo description
changestringNo description

Event Details

update:color

No description available.

Parameters: string

change

No description available.

Parameters: string

Slots

This component has no slots.

Methods

This component exposes no public methods.

Usage Example

vue
<template>
  <ColorPicker
    
    @update:color="handleUpdate:color"
    @change="handleChange" />
</template>

<script setup lang="ts">
const handleUpdate:color = (data: string) => {
  // Handle update:color event
}

const handleChange = (data: string) => {
  // Handle change event
}
</script>

File Location

src/components/common/ColorPicker.vue


This documentation was automatically generated from the component source code.

Released under the AGPL-3.0 License.