UNPKG

@tindtechnologies/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) 1.28 kB
import{b as i,d as a}from"./chunk-Y2TXPXZV.js";import{a as s,e,f as c,o as h}from"./chunk-VNJCZCB4.js";import"./chunk-L67DAW3A.js";var f=function(){function t(r){var o=this;s(this,r),this.routerDirection="forward",this.onClick=function(n){a(o.href,n,o.routerDirection)}}return t.prototype.componentDidLoad=function(){console.warn("[DEPRECATED][ion-anchor] The <ion-anchor> component has been deprecated. Please use an <ion-router-link> if you are using a vanilla JS or Stencil project or an <a> with the Angular router.")},t.prototype.render=function(){var r,o=h(this),n={href:this.href,rel:this.rel};return e(c,{onClick:this.onClick,class:Object.assign(Object.assign({},i(this.color)),(r={},r[o]=!0,r["ion-activatable"]=!0,r))},e("a",Object.assign({},n),e("slot",null)))},Object.defineProperty(t,"style",{get:function(){return":host{--background:transparent;--color:var(--ion-color-primary,#3880ff);background:var(--background);color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}a{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit}"},enumerable:!0,configurable:!0}),t}();export{f as ion_anchor};