Skip to content

Commit c20404a

Browse files
committed
Allow access to Letter Element.
1 parent 99e3632 commit c20404a

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

gwt-material/src/main/java/gwt/material/design/client/base/mixin/LetterMixin.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,8 @@ public void setLetterColor(Color letterColor) {
5454
public void setLetterBackgroundColor(Color letterBackgroundColor) {
5555
span.setBackgroundColor(letterBackgroundColor);
5656
}
57+
58+
public Span getSpan() {
59+
return span;
60+
}
5761
}

gwt-material/src/main/java/gwt/material/design/client/ui/MaterialChip.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,4 +204,8 @@ public void setLetterColor(Color letterColor) {
204204
public void setLetterBackgroundColor(Color letterBackgroundColor) {
205205
letterMixin.setLetterBackgroundColor(letterBackgroundColor);
206206
}
207+
208+
public LetterMixin<MaterialChip> getLetterMixin() {
209+
return letterMixin;
210+
}
207211
}

0 commit comments

Comments
 (0)