setHeight(Size.HUNDRED_PERCENT);
}
public <H extends EventHandler> HandlerRegistration removeDomHandler(final H handler, final PDomEvent.Type<H> type) {
final HandlerRegistration handlerRegistration = ensureDomHandler().addHandler(type, handler);
final RemoveHandler removeHandler = new RemoveHandler(getID(), HANDLER.KEY_.DOM_HANDLER);
if (handler instanceof JSONObject) {
removeHandler.put(PROPERTY.DOM_HANDLER_CODE, handler);
}
Txn.get().getTxnContext().save(removeHandler);
return handlerRegistration;
}