title: window resize event for backbone view
body: <p>I am using Backbone view in javascript.</p>
  
  <p>I have created a backbone view as follows :</p>
  
  <pre><code>var MaskView = Backbone.View.extend({
        className: "dropdown-mask",
        initialize: function(){
  
        },
        onClick: function(e){
  
        },
        hide: function(){
  
        },
        makeCSS: function(){
          return {
            width  : Math.max(document.documentElement.scrollWidth,  $(window).width()),
            height : Math.max(document.documentElement.scrollHeight, $(window).height())
          }
        }
      });
  </code></pre>
  
  <p>i want to capture event of window resizing inside the view.</p>
  
  <p>The problem is that, when the window is completely loaded, and mask view is created from the above backbone view. Now when i resize the window, the mask only covers a partial window area. 
  I want each time the window is reloaded, the mask also changes its area according to the current window size dynamically.</p>
  
  <p>How do i achieve that?</p>