Skip to content

CategoryContextMenu

A Vue component.

File: src/components/CategoryContextMenu.vue

Overview

Props

NameTypeDefaultRequiredDescription
isVisiblebooleanundefinedNo description
position{ x: number; y: number }undefinedNo description
categoryunionundefinedNo description

Props Details

isVisible

No description available.

  • Type: boolean
  • Required: Yes
  • Default: undefined

position

No description available.

  • Type: { x: number; y: number }
  • Required: Yes
  • Default: undefined

category

No description available.

  • Type: union
  • Required: Yes
  • Default: undefined

Events

NameParametersDescription
closeunknownNo description
create-channelCategoryNo description
edit-categoryCategoryNo description
delete-categoryCategoryNo description

Event Details

close

No description available.

Parameters: unknown

create-channel

No description available.

Parameters: Category

edit-category

No description available.

Parameters: Category

delete-category

No description available.

Parameters: Category

Slots

This component has no slots.

Methods

This component exposes no public methods.

Usage Example

vue
<template>
  <CategoryContextMenu
    :isVisible="true"
    :position="undefined"
    :category="undefined"
    @close="handleClose"
    @create-channel="handleCreateChannel"
    @edit-category="handleEditCategory"
    @delete-category="handleDeleteCategory" />
</template>

<script setup lang="ts">
const handleClose = (data: unknown) => {
  // Handle close event
}

const handleCreateChannel = (data: Category) => {
  // Handle create-channel event
}

const handleEditCategory = (data: Category) => {
  // Handle edit-category event
}

const handleDeleteCategory = (data: Category) => {
  // Handle delete-category event
}
</script>

File Location

src/components/CategoryContextMenu.vue


This documentation was automatically generated from the component source code.

Released under the AGPL-3.0 License.