How to use the plug-in method of vue?

vue-photo-preview this plug-in
is that the following two methods do not know where to write in the component?

this.$preview.on("close",()=>{//close
    console.log("")
})

//--this.$preview.self :
this.$preview.on("imageLoadComplete",(e,item)=>{
    console.log(this.$preview.self)  //this.$preview.selfphotoswipe
})

I have introduced

into the entry file.
import preview from "vue-photo-preview"
import "vue-photo-preview/dist/skin.css"

var options = {
  fullscreenEl: false,
  tapToClose: true
}
Vue.use(preview, options)
Vue.prototype.$preview = preview
Jun.14,2022
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e50d7b-43e0f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e50d7b-43e0f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?