Anas Jakwani
11/01/2023, 11:09 AMSteve Goldberg
11/01/2023, 5:09 PMbeforeShowContent
as a method is only available on a Page Type Base View. Do you intend to use SC View as a layout page? Perhaps you should be using a page type instead, or perhaps you want to elaborate a bit more about what it is you’re trying to do.Anas Jakwani
11/01/2023, 5:16 PMSteve Goldberg
11/01/2023, 5:22 PMAnas Jakwani
11/02/2023, 8:18 AMAnas Jakwani
11/02/2023, 8:46 AMSteve Goldberg
11/02/2023, 9:52 AMAnas Jakwani
11/02/2023, 9:53 AMSteve Goldberg
11/02/2023, 10:01 AMthis.collection.fetch()
, which will return a deferred object, or you bind a callback to showContent on your view after the fetch is done, eg:
collection.fetch().done(function () {
view.showContent();
});
Steve Goldberg
11/02/2023, 10:01 AMSteve Goldberg
11/02/2023, 10:02 AMAnas Jakwani
11/02/2023, 11:20 AMAnas Jakwani
11/02/2023, 11:23 AMSteve Goldberg
11/02/2023, 11:39 AM