Skip to content

MonyContent

A Vue component.

File: src/components/activitypub/MonyContent.vue

Overview

Props

NameTypeDefaultRequiredDescription
contentunionundefinedNo description
isPreviewbooleanundefinedNo description
previewLengthnumberundefinedNo description

Props Details

content

No description available.

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

isPreview

No description available.

  • Type: boolean
  • Required: No
  • Default: undefined

previewLength

No description available.

  • Type: number
  • Required: No
  • Default: undefined

Events

NameParametersDescription
user-mention-clickstringNo description
hashtag-clickstringNo description
image-clickstringNo description

Event Details

user-mention-click

No description available.

Parameters: string

hashtag-click

No description available.

Parameters: string

image-click

No description available.

Parameters: string

Slots

This component has no slots.

Methods

This component exposes no public methods.

Usage Example

vue
<template>
  <MonyContent
    :content="undefined"
    @user-mention-click="handleUserMentionClick"
    @hashtag-click="handleHashtagClick"
    @image-click="handleImageClick" />
</template>

<script setup lang="ts">
const handleUserMentionClick = (data: string) => {
  // Handle user-mention-click event
}

const handleHashtagClick = (data: string) => {
  // Handle hashtag-click event
}

const handleImageClick = (data: string) => {
  // Handle image-click event
}
</script>

File Location

src/components/activitypub/MonyContent.vue


This documentation was automatically generated from the component source code.

Released under the AGPL-3.0 License.