Skip to content

Commit f0ef84e

Browse files
committed
Generify $el from VueComponent
1 parent 7507e35 commit f0ef84e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/main/java/com/axellience/vuegwt/core/client/component/VueComponent.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,9 @@ public abstract class VueComponent
9090
}
9191

9292
@JsOverlay
93-
public final Element $el()
93+
public final <T extends Element> T $el()
9494
{
95-
return $el;
95+
return (T) $el;
9696
}
9797

9898
@JsOverlay

0 commit comments

Comments
 (0)