com.google.gwt.angular.client.impl.JsNgElement Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of angulargwt Show documentation
Show all versions of angulargwt Show documentation
AngularJS integration for GWT
package com.google.gwt.angular.client.impl;
import com.google.gwt.angular.client.NgElement;
import elemental.events.EventListener;
import elemental.js.dom.JsElement;
/**
* JSO implementation of NgElement.
*/
public class JsNgElement extends JsElement implements NgElement {
protected JsNgElement() {
}
@Override
final public native void bind(String eventType, Runnable func) /*-{
this.bind(eventType, $entry(function () {
[email protected]::run()();
}));
}-*/;
@Override
final public native void bind(String eventType, EventListener listener) /*-{
this.bind(eventType, $entry(@elemental.js.dom.JsElementalMixinBase::getHandlerFor(Lelemental/events/EventListener;)(listener)));
}-*/;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy