@acanto/core-dom
Advanced tools
Comparing version 0.0.18 to 0.0.19
@@ -90,3 +90,3 @@ /** | ||
selector: string, | ||
callback: ($element: T) => any, | ||
callback: ($element: T, index: number) => any, | ||
parent?: HTMLElement, | ||
@@ -169,3 +169,3 @@ scope?: object | ||
*/ | ||
export function isNodeList(nodes: any) { | ||
export function isNodeList<T>(nodes: any): nodes is NodeList { | ||
const stringRepr = Object.prototype.toString.call(nodes); | ||
@@ -321,2 +321,3 @@ | ||
export { default as listenScroll } from "./listenScroll"; | ||
export { onClickOutside } from "./onClickOutside"; | ||
export { default as throttle } from "./throttle"; | ||
@@ -323,0 +324,0 @@ export { default as emitEvent } from "./emitEvent"; |
{ | ||
"name": "@acanto/core-dom", | ||
"version": "0.0.18", | ||
"version": "0.0.19", | ||
"author": "Acanto <info@acanto.net> (https://acanto.agency/)", | ||
@@ -18,3 +18,3 @@ "license": "ISC", | ||
"sideEffects": false, | ||
"gitHead": "4a535ee9ef1c6303220803d4a9e04c1ef1a18080" | ||
"gitHead": "6cebcf893225a105124f6e2478a25b16743234f2" | ||
} |
24313
803