UNPKG

@nextcloud/vue

Version:
14 lines (13 loc) 356 B
import { I as e } from "../chunks/IsMobileState-e1fe5f58.mjs"; const s = { data() { return { isMobile: !1 }; }, mounted() { e.$on("changed", this.onIsMobileChanged), this.isMobile = e.isMobile; }, beforeDestroy() { e.$off("changed", this.onIsMobileChanged); }, methods: { onIsMobileChanged(o) { this.isMobile = o; } } }; export { s as default };