58 lines
1.9 KiB
JavaScript
58 lines
1.9 KiB
JavaScript
(function () {
|
|
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["status-tap-b46a1b02-js"], {
|
|
/***/
|
|
"./node_modules/@ionic/core/dist/esm/status-tap-b46a1b02.js":
|
|
/*!******************************************************************!*\
|
|
!*** ./node_modules/@ionic/core/dist/esm/status-tap-b46a1b02.js ***!
|
|
\******************************************************************/
|
|
|
|
/*! exports provided: startStatusTap */
|
|
|
|
/***/
|
|
function node_modulesIonicCoreDistEsmStatusTapB46a1b02Js(module, __webpack_exports__, __webpack_require__) {
|
|
"use strict";
|
|
|
|
__webpack_require__.r(__webpack_exports__);
|
|
/* harmony export (binding) */
|
|
|
|
|
|
__webpack_require__.d(__webpack_exports__, "startStatusTap", function () {
|
|
return startStatusTap;
|
|
});
|
|
/* harmony import */
|
|
|
|
|
|
var _index_e806d1f6_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
/*! ./index-e806d1f6.js */
|
|
"./node_modules/@ionic/core/dist/esm/index-e806d1f6.js");
|
|
|
|
var startStatusTap = function startStatusTap() {
|
|
var win = window;
|
|
win.addEventListener('statusTap', function () {
|
|
Object(_index_e806d1f6_js__WEBPACK_IMPORTED_MODULE_0__["f"])(function () {
|
|
var width = win.innerWidth;
|
|
var height = win.innerHeight;
|
|
var el = document.elementFromPoint(width / 2, height / 2);
|
|
|
|
if (!el) {
|
|
return;
|
|
}
|
|
|
|
var contentEl = el.closest('ion-content');
|
|
|
|
if (contentEl) {
|
|
contentEl.componentOnReady().then(function () {
|
|
Object(_index_e806d1f6_js__WEBPACK_IMPORTED_MODULE_0__["c"])(function () {
|
|
return contentEl.scrollToTop(300);
|
|
});
|
|
});
|
|
}
|
|
});
|
|
});
|
|
};
|
|
/***/
|
|
|
|
}
|
|
}]);
|
|
})();
|
|
//# sourceMappingURL=status-tap-b46a1b02-js-es5.js.map
|