Hi All,
According to the standard, if new pages are CMS creatable then we should use new page type base view. The recommended practice is to add the
PageType.Base.View as a dependency and then name it
PageType. From there we can extend the base view class itself, which is a name property of it.
The problem is that when I am following the recommended practice and extend my view with
PageType.Base.View. It is not passing value of
options
to the
initialize()
method in view. But, when I am extending my view with
Backbone.View, I am getting the value in options parameter of initialize method. Why is it so ? Please guide.