Gun-Vue docs v0.21.4 • Docs
Gun-Vue docs v0.21.4 / Post / downloadPost
Function: downloadPost()
downloadPost(
post
):Promise
<boolean
>
Download the post as a zip file with MD contents and icon and cover pictures if present
Parameters
• post: PostContent
Returns
Promise
<boolean
>
Example
ts
import { downloadPost, usePost } from '@gun-vue/composables'
const {post} = usePost( postTag, postHash )
downloadPost(post)