UNPKG

kre-form

Version:

本项目由 Angular8+ 编写的表单设计器和表单应用,所有的配置都是 JSON 结构体组成,PC 端是基于 ANT 组件库封装

40 lines (33 loc) 1.69 kB
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["status-tap-0b3e89c4-js"],{ /***/ "./node_modules/@ionic/core/dist/esm-es5/status-tap-0b3e89c4.js": /*!**********************************************************************!*\ !*** ./node_modules/@ionic/core/dist/esm-es5/status-tap-0b3e89c4.js ***! \**********************************************************************/ /*! exports provided: startStatusTap */ /***/ (function(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_92848855_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./index-92848855.js */ "./node_modules/@ionic/core/dist/esm-es5/index-92848855.js"); var startStatusTap = function () { var win = window; win.addEventListener('statusTap', function () { Object(_index_92848855_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_92848855_js__WEBPACK_IMPORTED_MODULE_0__["c"])(function () { return contentEl.scrollToTop(300); }); }); } }); }); }; /***/ }) }]); //# sourceMappingURL=status-tap-0b3e89c4-js.js.map