vaadin / flow

Vaadin Flow is a Java framework binding Vaadin web components to Java. This is part of Vaadin 10+.
Apache License 2.0
590 stars 164 forks source link

WebComponent interface should provide getElement() #5330

Open ujoni opened 5 years ago

ujoni commented 5 years ago

Add Element getElement() method to WebComponent interface.

This method provides the developers access to the web component's root element and allows developers to leverage the element API to achieve tasks that would be otherwise impossible with the current API but do not warrant custom API on the WebComponent interface.

pleku commented 5 years ago

This should be also mentioned in the documentation.