@tindtechnologies/universalviewer
Version:
The Universal Viewer is a community-developed open source project on a mission to help you share your 📚📜📰📽️📻🗿 with the 🌎
1 lines • 805 B
JavaScript
;(self.webpackChunkUV=self.webpackChunkUV||[]).push([[68],{68(t,e,n){n.r(e),n.d(e,{ion_route:()=>a});var o=n(5873),a=function(){function t(t){(0,o.r)(this,t),this.url="",this.ionRouteDataChanged=(0,o.c)(this,"ionRouteDataChanged",7)}return t.prototype.onUpdate=function(t){this.ionRouteDataChanged.emit(t)},t.prototype.onComponentProps=function(t,e){if(t!==e){var n=t?Object.keys(t):[],o=e?Object.keys(e):[];if(n.length===o.length)for(var a=0,i=n;a<i.length;a++){var r=i[a];if(t[r]!==e[r])return void this.onUpdate(t)}else this.onUpdate(t)}},t.prototype.connectedCallback=function(){this.ionRouteDataChanged.emit()},Object.defineProperty(t,"watchers",{get:function(){return{url:["onUpdate"],component:["onUpdate"],componentProps:["onComponentProps"]}},enumerable:!0,configurable:!0}),t}()}}]);