From 0b383151057fb2728f9db98afbc26a614cbc8eb7 Mon Sep 17 00:00:00 2001 From: maxlath Date: Sun, 28 Nov 2021 17:13:28 +0100 Subject: [PATCH] docs: upgrade-v2-v3: document breaking changes on isRendered and isDestroyed (#3696) --- docs/upgrade-v2-v3.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/upgrade-v2-v3.md b/docs/upgrade-v2-v3.md index cd566010e4..69b34b8ce0 100644 --- a/docs/upgrade-v2-v3.md +++ b/docs/upgrade-v2-v3.md @@ -88,6 +88,16 @@ events after the view has been created. The view `triggers` attribute no longer passes an `options` attribute to event handlers, instead passing the view instance that triggered the event. +### View `isRendered` + +The view `isRendered` attribute is no longer a boolean, but a function that +returns a boolean. + +### View `isDestroyed` + +The view `isDestroyed` attribute is no longer a boolean, but a function that +returns a boolean. + ## Events A number of lifecycle events were changed or removed from Marionette 3.