From ec8fbe01477322c06a7357fa001cfae328474a8d Mon Sep 17 00:00:00 2001 From: caalador Date: Thu, 19 Aug 2021 11:32:18 +0300 Subject: [PATCH] Add since MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Pekka Hyvönen --- .../src/main/java/com/vaadin/flow/component/Component.java | 1 + 1 file changed, 1 insertion(+) diff --git a/flow-server/src/main/java/com/vaadin/flow/component/Component.java b/flow-server/src/main/java/com/vaadin/flow/component/Component.java index acf83d6abc2..28a1c44dfc5 100644 --- a/flow-server/src/main/java/com/vaadin/flow/component/Component.java +++ b/flow-server/src/main/java/com/vaadin/flow/component/Component.java @@ -439,6 +439,7 @@ protected void onDetach(DetachEvent detachEvent) { * UI and its components. * * @return true if the component is attached to an active UI. + * @since 2.7 */ public boolean isAttached() { return getElement().getNode().isAttached();