Skip to content

Commit c4b092b

Browse files
committed
feat: add support for shadow DOM styling
Close #41
1 parent 9016d55 commit c4b092b

File tree

6 files changed

+746
-646
lines changed

6 files changed

+746
-646
lines changed

src/main/java/com/flowingcode/vaadin/addons/carousel/Carousel.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
import com.vaadin.flow.component.DomEvent;
2626
import com.vaadin.flow.component.EventData;
2727
import com.vaadin.flow.component.HasSize;
28+
import com.vaadin.flow.component.HasTheme;
2829
import com.vaadin.flow.component.Tag;
2930
import com.vaadin.flow.component.dependency.JsModule;
3031
import com.vaadin.flow.component.dependency.NpmPackage;
@@ -39,7 +40,7 @@
3940
@Tag("l2t-paper-slider")
4041
@NpmPackage(value = "@polymer/iron-a11y-keys-behavior", version = "3.0.1")
4142
@JsModule("./paper-slider/l2t-paper-slider.js")
42-
public class Carousel extends Component implements HasSize {
43+
public class Carousel extends Component implements HasSize, HasTheme {
4344

4445
private static final String HIDE_NAV = "hideNav";
4546
private static final String DISABLE_SWIPE = "disableSwipe";

0 commit comments

Comments
 (0)