Class: BEMQuery

BEMQuery


new BEMQuery()

Methods


getStates()

Method for getting states from all elements in collection.
Returns:
Current BEMQuery instance.
Type
BEMQuery

html( [newHTML])

Method for getting/setting inner HTML of all elements in collection
Parameters:
Name Type Argument Description
newHTML String <optional>
The new inner HTML value. If not specified, the method will work as getter.
Returns:
Current BEMQuery instance.
Type
BEMQuery

read()

Method that runs all read operations stored in batch
Returns:
Promise returned by batch.
Type
Promise

write()

Method that runs all write operations stored in batch
Returns:
Promise returned by batch.
Type
Promise