@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.03 kB
JavaScript
import{a as s}from"./chunk-PU67WH5C.js";import{a as o,e,f as h,n,o as t}from"./chunk-VNJCZCB4.js";import"./chunk-L67DAW3A.js";var c=function(){function i(r){o(this,r)}return i.prototype.componentWillLoad=function(){if(this.pullingIcon===void 0&&(this.pullingIcon=n.get("refreshingIcon","arrow-down")),this.refreshingSpinner===void 0){var r=t(this);this.refreshingSpinner=n.get("refreshingSpinner",n.get("spinner",r==="ios"?"lines":"crescent"))}},i.prototype.render=function(){return e(h,{class:t(this)},e("div",{class:"refresher-pulling"},this.pullingIcon&&e("div",{class:"refresher-pulling-icon"},e("ion-icon",{icon:this.pullingIcon,lazy:!1})),this.pullingText&&e("div",{class:"refresher-pulling-text",innerHTML:s(this.pullingText)})),e("div",{class:"refresher-refreshing"},this.refreshingSpinner&&e("div",{class:"refresher-refreshing-icon"},e("ion-spinner",{name:this.refreshingSpinner})),this.refreshingText&&e("div",{class:"refresher-refreshing-text",innerHTML:s(this.refreshingText)})))},i}();export{c as ion_refresher_content};