PostReactions
A Vue component.
File: src/components/activitypub/PostReactions.vue
Overview
Props
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
post | TimelinePost | undefined | ✅ | No description |
showReactions | boolean | true | ❌ | No description |
Props Details
post
No description available.
- Type:
TimelinePost - Required: Yes
- Default:
undefined
showReactions
No description available.
- Type:
boolean - Required: No
- Default:
true
Events
| Name | Parameters | Description |
|---|---|---|
show-reaction-tooltip | MouseEvent | No description |
hide-reaction-tooltip | unknown | No description |
Event Details
show-reaction-tooltip
No description available.
Parameters: MouseEvent
hide-reaction-tooltip
No description available.
Parameters: unknown
Slots
This component has no slots.
Methods
This component exposes no public methods.
Usage Example
vue
<template>
<PostReactions
:post="undefined"
@show-reaction-tooltip="handleShowReactionTooltip"
@hide-reaction-tooltip="handleHideReactionTooltip" />
</template>
<script setup lang="ts">
const handleShowReactionTooltip = (data: MouseEvent) => {
// Handle show-reaction-tooltip event
}
const handleHideReactionTooltip = (data: unknown) => {
// Handle hide-reaction-tooltip event
}
</script>File Location
src/components/activitypub/PostReactions.vue
This documentation was automatically generated from the component source code.
