ngx-text-editor-angular
Version:
WYSIWYG Editor for Angular 2+
42 lines (34 loc) • 1.87 kB
JavaScript
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["status-tap-a0df8284-js"],{
/***/ "./node_modules/@ionic/core/dist/esm-es5/status-tap-a0df8284.js":
/*!**********************************************************************!*\
!*** ./node_modules/@ionic/core/dist/esm-es5/status-tap-a0df8284.js ***!
\**********************************************************************/
/*! exports provided: startStatusTap */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
;
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "startStatusTap", function() { return startStatusTap; });
/* harmony import */ var _core_ca0488fc_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./core-ca0488fc.js */ "./node_modules/@ionic/core/dist/esm-es5/core-ca0488fc.js");
/* harmony import */ var _config_3c7f3790_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./config-3c7f3790.js */ "./node_modules/@ionic/core/dist/esm-es5/config-3c7f3790.js");
var startStatusTap = function () {
var win = window;
win.addEventListener('statusTap', function () {
Object(_core_ca0488fc_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(_core_ca0488fc_js__WEBPACK_IMPORTED_MODULE_0__["w"])(function () { return contentEl.scrollToTop(300); });
});
}
});
});
};
/***/ })
}]);
//# sourceMappingURL=status-tap-a0df8284-js.js.map