@zodash/dom
Advanced tools
Comparing version 0.1.4 to 0.1.5
@@ -6,2 +6,10 @@ # Change Log | ||
## [0.1.5](https://github.com/zcorky/zodash/compare/@zodash/dom@0.1.4...@zodash/dom@0.1.5) (2021-03-24) | ||
**Note:** Version bump only for package @zodash/dom | ||
## [0.1.4](https://github.com/zcorky/zodash/compare/@zodash/dom@0.1.3...@zodash/dom@0.1.4) (2021-03-23) | ||
@@ -8,0 +16,0 @@ |
@@ -1,2 +0,1 @@ | ||
export * from './types'; | ||
import { $ } from './$'; | ||
@@ -10,3 +9,4 @@ import * as event from './event'; | ||
import * as router from './router'; | ||
export { $, event, scroll, clipboard, page, viewport, style, router }; | ||
export * from './types'; | ||
export { $, event, scroll, clipboard, page, viewport, style, router, }; | ||
declare const _default: { | ||
@@ -13,0 +13,0 @@ $: import("./types").I$S; |
@@ -14,3 +14,2 @@ "use strict"; | ||
exports.router = exports.style = exports.viewport = exports.page = exports.clipboard = exports.scroll = exports.event = exports.$ = void 0; | ||
__exportStar(require("./types"), exports); | ||
const _1 = require("./$"); | ||
@@ -32,2 +31,3 @@ Object.defineProperty(exports, "$", { enumerable: true, get: function () { return _1.$; } }); | ||
exports.router = router; | ||
__exportStar(require("./types"), exports); | ||
exports.default = { | ||
@@ -34,0 +34,0 @@ $: _1.$, |
@@ -43,4 +43,4 @@ "use strict"; | ||
setTimeout(() => { | ||
$el && | ||
$el.scrollTo({ | ||
$el | ||
&& $el.scrollTo({ | ||
top: 0, | ||
@@ -56,4 +56,4 @@ behavior: animated ? 'smooth' : undefined, | ||
setTimeout(() => { | ||
$el && | ||
$el.scrollTo({ | ||
$el | ||
&& $el.scrollTo({ | ||
top: scrollHeight, | ||
@@ -60,0 +60,0 @@ behavior: animated ? 'smooth' : undefined, |
@@ -7,3 +7,3 @@ "use strict"; | ||
const $el = _1.$($element); | ||
const { top, right, bottom, left } = $el.getBoundingClientRect(); | ||
const { top, right, bottom, left, } = $el.getBoundingClientRect(); | ||
const { innerHeight, innerWidth } = window; | ||
@@ -10,0 +10,0 @@ if (fullVisible) { |
{ | ||
"name": "@zodash/dom", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "DOM Utils", | ||
@@ -73,6 +73,6 @@ "keywords": [ | ||
"@zodash/copy": "^0.0.2", | ||
"@zodash/debounce": "^0.1.4", | ||
"@zodash/event": "^0.1.5" | ||
"@zodash/debounce": "^0.1.5", | ||
"@zodash/event": "^0.1.6" | ||
}, | ||
"gitHead": "36ae103b292f402d459b7c9eb6e63fe6ea93eb2b" | ||
"gitHead": "476cc71bdf3cc5914d55495eaa9e3d07472885d9" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
23159
Updated@zodash/debounce@^0.1.5
Updated@zodash/event@^0.1.6