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