com.github.fluorumlabs.disconnect.vaadin.renderers.ComboBoxRenderer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of disconnect-vaadin Show documentation
Show all versions of disconnect-vaadin Show documentation
Vaadin components bindings for Disconnect Zero
The newest version!
package com.github.fluorumlabs.disconnect.vaadin.renderers;
import com.github.fluorumlabs.disconnect.vaadin.elements.ComboBoxElement;
import js.lang.Any;
import js.web.dom.Element;
import org.teavm.jso.JSFunctor;
import org.teavm.jso.JSProperty;
/**
* Created by Artem Godin on 2/4/2020.
*/
@JSFunctor
@FunctionalInterface
public interface ComboBoxRenderer- extends Any {
void render(Element root, ComboBoxElement comboBox, Model
- model);
interface Model
- extends Any {
@JSProperty
int getIndex();
@JSProperty
ITEM getItem();
}
}