import { Page } from 'tns-core-modules/ui/page'
export default {
mounted () {
this.nativeView.page.on(Page.navigatingFromEvent, this.pageUnload)
},
beforeDestory () {
this.nativeView.page.off(Page.navigatingFromEvent, this.pageUnload)
},
methods: {
pageUnload () {
console.log('page unload')
}
}
}
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)