Function
Static Public Summary | ||
public |
getElements(target: string | NodeList | Element | Element[], context: Element): Element[] Get elements that can use forEach |
|
public |
noop() |
Static Public
public getElements(target: string | NodeList | Element | Element[], context: Element): Element[] source
import {getElements} from 'mini-parallax/src/modules/utility.js'
Get elements that can use forEach
Params:
Name | Type | Attribute | Description |
target | string | NodeList | Element | Element[] | selector or elements |
|
context | Element | context element |
Return:
Element[] | array of elements |