PostView View
File: src/views/PostView.vue
Overview
Functions
loadPostWithContext()
No description available.
Parameters: None
Returns: Unknown
const loadPostWithContext = async () =>fetchRemoteDataInBackground(targetPost: TimelinePost)
No description available.
Parameters:
targetPost: TimelinePost
Returns: Unknown
const fetchRemoteDataInBackground = async (targetPost: TimelinePost) =>handleReply(post: TimelinePost)
No description available.
Parameters:
post: TimelinePost
Returns: Unknown
const handleReply = (post: TimelinePost) =>handleReplyCreated(newReply?: TimelinePost)
No description available.
Parameters:
newReply?: TimelinePost
Returns: Unknown
const handleReplyCreated = async (newReply?: TimelinePost) =>handleDelete(postId: string)
No description available.
Parameters:
postId: string
Returns: Unknown
const handleDelete = async (postId: string) =>handleFavorite(postId: string)
No description available.
Parameters:
postId: string
Returns: Unknown
const handleFavorite = async (postId: string) =>handleReblog(postId: string)
No description available.
Parameters:
postId: string
Returns: Unknown
const handleReblog = async (postId: string) =>handleBookmark(postId: string)
No description available.
Parameters:
postId: string
Returns: Unknown
const handleBookmark = async (postId: string) =>handleUserClick(userId: string)
No description available.
Parameters:
userId: string
Returns: Unknown
const handleUserClick = (userId: string) =>sharePost()
No description available.
Parameters: None
Returns: Unknown
const sharePost = async () =>openActions()
No description available.
Parameters: None
Returns: Unknown
const openActions = () =>goBack()
No description available.
Parameters: None
Returns: Unknown
const goBack = () =>setPostRef(postId: string, el: any)
No description available.
Parameters:
postId: stringel: any
Returns: Unknown
const setPostRef = (postId: string, el: any) =>scrollToPost(postId: string)
No description available.
Parameters:
postId: string
Returns: Unknown
const scrollToPost = (postId: string) =>scrollToTimestamp(timestamp: number)
No description available.
Parameters:
timestamp: number
Returns: Unknown
const scrollToTimestamp = (timestamp: number) =>Interfaces
Props
No description available.
interface Props {
postId: string;
contextType?: PostContextType;
highlightReply?: string;
timestamp?: number | null;
}Vue Component
This is a Vue component file.
Source Code Insights
File Size: 19308 characters Lines of Code: 717 Imports: 11
Usage Example
import { PostView } from '@/views/PostView'
// Example usage
loadPostWithContext()This documentation was automatically generated from the source code.
