You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vs this._events(Button); this._events(this._elem('add-address').findMixedBlock(Button));
The text was updated successfully, but these errors were encountered:
belozer
changed the title
BemDomEntity. Static method for init entity on dom (v5)
BemDomEntity. Static method for init entity on dom (v4-5)
Aug 8, 2018
static method: findOn
findOn(node: BemDomEntity|Element|NodeList|HTMLCollection): ?BemDomEntity
example
Link.findOn(domNodes);
Link.findOn(this._elem('link'));
current
bemDom.getEntity(domNodes, Link);
this._elem('link').findMixedBlock(Link);
From history v3 and old versions
this.findBlockOn('link', 'link');
@veged @tadatuta
upd
Example with
_events
this._events(Button);
this._events(Button.findOn(this._elem('add-address')));
vs
this._events(Button);
this._events(this._elem('add-address').findMixedBlock(Button));
The text was updated successfully, but these errors were encountered: