fr.lteconsulting.angular2gwt.client.WidgetAdapterPanel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of angular2-gwt Show documentation
Show all versions of angular2-gwt Show documentation
Allows to develop Angular 2 applications with GWT
package fr.lteconsulting.angular2gwt.client;
import com.google.gwt.dom.client.Element;
import com.google.gwt.user.client.ui.RootPanel;
import com.google.gwt.user.client.ui.SimplePanel;
import fr.lteconsulting.angular2gwt.client.interop.ng.core.ElementRef;
public class WidgetAdapterPanel extends SimplePanel
{
public WidgetAdapterPanel( ElementRef elementRef )
{
super( (Element) (Object) elementRef.nativeElement() );
onAttach();
RootPanel.detachOnWindowClose( this );
}
public void remove()
{
RootPanel.detachNow( this );
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy