ServerSidebar
A Vue component.
File: src/components/ServerSidebar.vue
Overview
Props
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
servers | Array | undefined | ✅ | No description |
Props Details
servers
No description available.
- Type:
Array - Required: Yes
- Default:
undefined
Events
| Name | Parameters | Description |
|---|---|---|
show-public-servers | boolean | No description |
switch-to-activitypub | unknown | No description |
switch-to-chat | unknown | No description |
Event Details
show-public-servers
No description available.
Parameters: boolean
switch-to-activitypub
No description available.
Parameters: unknown
switch-to-chat
No description available.
Parameters: unknown
Slots
This component has no slots.
Methods
This component exposes no public methods.
Usage Example
vue
<template>
<ServerSidebar
:servers="[]"
@show-public-servers="handleShowPublicServers"
@switch-to-activitypub="handleSwitchToActivitypub"
@switch-to-chat="handleSwitchToChat" />
</template>
<script setup lang="ts">
const handleShowPublicServers = (data: boolean) => {
// Handle show-public-servers event
}
const handleSwitchToActivitypub = (data: unknown) => {
// Handle switch-to-activitypub event
}
const handleSwitchToChat = (data: unknown) => {
// Handle switch-to-chat event
}
</script>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
File Location
src/components/ServerSidebar.vue
This documentation was automatically generated from the component source code.
