Skip to content

Commit 9970003

Browse files
paodbjavier-godoy
authored andcommitted
docs: add note on marker label's className property limitations
1 parent ccceca0 commit 9970003

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/main/java/com/flowingcode/vaadin/addons/googlemaps/MarkerLabel.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,12 @@ public class MarkerLabel {
6969
* The className property of the label's element (equivalent to the element's class attribute).
7070
* Multiple space-separated CSS classes can be added. The font color, size, weight, and family can
7171
* only be set via the other properties of <code>MarkerLabel</code>.
72+
*
73+
* <p>
74+
* <strong>Note:</strong> At the moment, there is no direct way to apply the className by
75+
* importing a stylesheet into the component's shadow root. For alternative workarounds, see
76+
* <a href="https://github.com/FlowingCode/GoogleMapsAddon/issues/159#issuecomment-3325302923">
77+
* this comment on GitHub</a>.
7278
*/
7379
private String className;
7480

0 commit comments

Comments
 (0)