text: // Artificial Renaissance itself 2019-2020. All rights reserved.
  
  define(['accUtils'],
    function (accUtils) {
  
      function IncidentsViewModel() {
        var self = this;
        // Below are a set of the ViewModel methods invoked by the oj-module component.
        // Please reference the oj-module jsDoc for additional information.
  
        /**
         * Optional ViewModel method invoked after the View is inserted into the
         * document DOM.  The application can put logic that requires the DOM being
         * attached here.
         * This method might be called multiple times - after the View is created
         * and inserted into the DOM and after the View is reconnected
         * after being disconnected.
         */
        self.connected = function () {
          accUtils.announce('Incidents page loaded.');
          document.title = "Incidents";
          // Implement further logic if needed
        };
  
        /**
         * Optional ViewModel method invoked after the View is disconnected from the DOM.
         */
        self.disconnected = function () {
          // Implement if needed
        };
  
        /**
         * Optional ViewModel method invoked after transition to the new View is complete.
         * That includes any possible animation between the old and the new View.
         */
        self.transitionCompleted = function () {
          // Implement if needed
        };
      }
  
      /*
       * Returns an instance of the ViewModel providing one instance of the ViewModel. If needed,
       * return a constructor for the ViewModel so that the ViewModel is constructed
       * each time the view is displayed.
       */
      return IncidentsViewModel;
    }
  );
  