Skip to content

PostReactions

A Vue component.

File: src/components/activitypub/PostReactions.vue

Overview

Props

NameTypeDefaultRequiredDescription
postTimelinePostundefinedNo description
showReactionsbooleantrueNo description

Props Details

post

No description available.

  • Type: TimelinePost
  • Required: Yes
  • Default: undefined

showReactions

No description available.

  • Type: boolean
  • Required: No
  • Default: true

Events

NameParametersDescription
show-reaction-tooltipMouseEventNo description
hide-reaction-tooltipunknownNo 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.

Released under the AGPL-3.0 License.