Last active
May 5, 2022 14:21
-
-
Save vegegoku/7cad3eacd56f02c6f5ef05713c2e3e65 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.dominokit.samples; | |
import elemental2.dom.HTMLDivElement; | |
import org.dominokit.domino.ui.cards.Card; | |
import org.dominokit.domino.ui.forms.TextBox; | |
import org.dominokit.domino.ui.utils.BaseDominoElement; | |
import org.dominokit.domino.ui.utils.DominoElement; | |
public class InputElement extends BaseDominoElement<HTMLDivElement, InputElement> { | |
private DominoElement<HTMLDivElement> root= DominoElement.div(); | |
public InputElement() { | |
init(this); | |
appendChild(Card.create() | |
.appendChild(TextBox.create("Sample text input")) | |
); | |
} | |
@Override | |
public HTMLDivElement element() { | |
return root.element(); | |
} | |
} |
Author
vegegoku
commented
May 5, 2022
my gwt.xml
<?xml version="1.0" encoding="UTF-8"?>
<module>
<inherits name="com.google.gwt.user.User" />
<inherits name="org.dominokit.domino.ui.DominoUI"/>
<source path="" />
<entry-point class="org.dominokit.samples.App" />
<collapse-all-properties/>
</module>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment