Last active
January 17, 2017 00:27
-
-
Save yateam/e62bad53139df00b691c035f869ae09d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
div() | |
.withClass("gw-CardViewWidget--tabbar") | |
.with( | |
getWidget().getChildren(CardWidget.class).stream().map(card -> | |
div() | |
.withId(card.getRenderId()) | |
.withClass("gw-CardViewWidget--tab") | |
.withCondClass(card.isCurrent(), "gw-active") | |
.withData("gw-click", "fireEvent") | |
.with( | |
div().withClass("gw-icon"), | |
div().withClass("gw-CardViewWidget--tab--inner gw-label") | |
) | |
).collect(Collectors.toList())); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment