Skip to content

CreateChannel

A Vue component.

File: src/components/CreateChannel.vue

Overview

Props

NameTypeDefaultRequiredDescription
serverIdstringundefinedNo description
showbooleanundefinedNo description
categoryIdunionundefinedNo description

Props Details

serverId

No description available.

  • Type: string
  • Required: Yes
  • Default: undefined

show

No description available.

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

categoryId

No description available.

  • Type: union
  • Required: No
  • Default: undefined

Events

NameParametersDescription
closeunknownNo description
channelCreatedanyNo description

Event Details

close

No description available.

Parameters: unknown

channelCreated

No description available.

Parameters: any

Slots

This component has no slots.

Methods

This component exposes no public methods.

Usage Example

vue
<template>
  <CreateChannel
    :serverId=""example""
    :show="true"
    @close="handleClose"
    @channelCreated="handleChannelCreated" />
</template>

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

const handleChannelCreated = (data: any) => {
  // Handle channelCreated event
}
</script>

File Location

src/components/CreateChannel.vue


This documentation was automatically generated from the component source code.

Released under the AGPL-3.0 License.