@acdh-oeaw/universalviewer
Version:
The Universal Viewer is a community-developed open source project on a mission to help you share your 📚📜📰📽️📻🗿 with the 🌎
2 lines (1 loc) • 694 B
JavaScript
import{a as n}from"./chunk-6V2SQOOA.js";import{a as e,e as r,f as i,l as s}from"./chunk-JFPB5N6O.js";import"./chunk-L67DAW3A.js";var u=function(){function o(a){var t=this;e(this,a),this.setRoot=function(){return n(t.el,"root",t.component,t.componentProps)}}return o.prototype.componentDidLoad=function(){console.warn('[DEPRECATED][ion-nav-set-root] `<ion-nav-set-root component="MyComponent">` is deprecated. Use `<ion-nav-link component="MyComponent" routerDirection="root">` instead.')},o.prototype.render=function(){return r(i,{onClick:this.setRoot})},Object.defineProperty(o.prototype,"el",{get:function(){return s(this)},enumerable:!0,configurable:!0}),o}();export{u as ion_nav_set_root};