Methods
factory(query, context) → {BEMQuery}
- Source:
BEMQuery instance factory.
Parameters:
Name | Type | Description |
---|---|---|
query |
String | Iterable | HTMLElement | Selector or existing elements collection upon which the new elements collection should be created. |
context |
Document | HTMLElement | BEMQuery | Context from which elements should be fetched. |
Returns:
New BEMQuery instance.
- Type
- BEMQuery