Mini Shell
Direktori : /home/funerariamayer/app/ |
|
Current File : /home/funerariamayer/app/node_modules_ionic_core_dist_esm_status-tap-4087b8c4_js.js |
"use strict";
(self["webpackChunkapp"] = self["webpackChunkapp"] || []).push([["node_modules_ionic_core_dist_esm_status-tap-4087b8c4_js"],{
/***/ 20386:
/*!******************************************************************!*\
!*** ./node_modules/@ionic/core/dist/esm/status-tap-4087b8c4.js ***!
\******************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ "startStatusTap": () => (/* binding */ startStatusTap)
/* harmony export */ });
/* harmony import */ var F_www_mayer_app_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator */ 19369);
/* harmony import */ var _index_06cd27b1_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./index-06cd27b1.js */ 88179);
/* harmony import */ var _helpers_eed79a2b_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./helpers-eed79a2b.js */ 17998);
/*!
* (C) Ionic http://ionicframework.com - MIT License
*/
const startStatusTap = () => {
const win = window;
win.addEventListener('statusTap', () => {
(0,_index_06cd27b1_js__WEBPACK_IMPORTED_MODULE_1__.f)(() => {
const width = win.innerWidth;
const height = win.innerHeight;
const el = document.elementFromPoint(width / 2, height / 2);
if (!el) {
return;
}
const contentEl = el.closest('ion-content');
if (contentEl) {
new Promise(resolve => (0,_helpers_eed79a2b_js__WEBPACK_IMPORTED_MODULE_2__.c)(contentEl, resolve)).then(() => {
(0,_index_06cd27b1_js__WEBPACK_IMPORTED_MODULE_1__.c)( /*#__PURE__*/(0,F_www_mayer_app_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__.default)(function* () {
/**
* If scrolling and user taps status bar,
* only calling scrollToTop is not enough
* as engines like WebKit will jump the
* scroll position back down and complete
* any in-progress momentum scrolling.
*/
contentEl.style.setProperty('--overflow', 'hidden');
yield contentEl.scrollToTop(300);
contentEl.style.removeProperty('--overflow');
}));
});
}
});
});
};
/***/ })
}]);
//# sourceMappingURL=node_modules_ionic_core_dist_esm_status-tap-4087b8c4_js.js.map
Zerion Mini Shell 1.0