<template>
  <offline @detected-condition="handleConnectivityChange">
    <div slot="offline">
      <p>OFFLINE</p>
    </div>
  </offline>
</template>

<script>
import offline from 'v-offline';
export default {
name: "LocalConn",
  components: {
  offline
  },
  methods: {
    handleConnectivityChange(status) {
      console.log(status);
    }
  }
}
</script>