@zoff-tech/zt-bottom-drawer
Version:
Bottom Drawer / Web Component
44 lines (40 loc) • 1.24 kB
JavaScript
import { proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
const RouteRedirect = /*@__PURE__*/ proxyCustomElement(class RouteRedirect extends HTMLElement {
constructor() {
super();
this.__registerHost();
this.ionRouteRedirectChanged = createEvent(this, "ionRouteRedirectChanged", 7);
this.from = undefined;
this.to = undefined;
}
propDidChange() {
this.ionRouteRedirectChanged.emit();
}
connectedCallback() {
this.ionRouteRedirectChanged.emit();
}
static get watchers() { return {
"from": ["propDidChange"],
"to": ["propDidChange"]
}; }
}, [0, "ion-route-redirect", {
"from": [1],
"to": [1]
}]);
function defineCustomElement$1() {
if (typeof customElements === "undefined") {
return;
}
const components = ["ion-route-redirect"];
components.forEach(tagName => { switch (tagName) {
case "ion-route-redirect":
if (!customElements.get(tagName)) {
customElements.define(tagName, RouteRedirect);
}
break;
} });
}
const IonRouteRedirect = RouteRedirect;
const defineCustomElement = defineCustomElement$1;
export { IonRouteRedirect, defineCustomElement };
//# sourceMappingURL=ion-route-redirect.js.map