Akhil Munagala
01/17/2020, 12:55 PMPabloZ
01/17/2020, 2:59 PMPabloZ
01/17/2020, 3:00 PMSteve Goldberg
01/20/2020, 12:49 PMif x == true
then it renders some output. But yes, it is possible.Akhil Munagala
01/21/2020, 6:57 AMSteve Goldberg
01/21/2020, 9:43 AMSteve Goldberg
01/21/2020, 9:44 AM, render: function () // this will overwrite the inherited render() method
{
// "How do I conditionally do something based on what the current view is?"
if (this.parentView instanceof OrderHistoryListView)
{
this._render(); // this is the 'real' method
}
// by doing nothing if it is false, it won't render on pages that aren't the order history list view
}
Akhil Munagala
01/22/2020, 7:07 AM