public void attach ( ElementHandler < T > handler ) { NodeState < T > state = buildState ( ) ; context . addElementHandler ( state , handler ) ; }
Attach an ElementHandler to this selector or chain of selectors . The attached handler will receive notifications for every selected element .