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-1b36b0a-2b87e.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-1b36b0a-2b87e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?