SU-SWS/decanter

View on GitHub
core/src/js/components/secondary-nav/common/events/OnEnd.js

Summary

Maintainability
A
1 hr
Test Coverage
import EventAbstract from './EventAbstract';

/**
 * OnEnd
 *
 * Event action handler class.
 */
export default class OnEnd extends EventAbstract {

  /**
   * Execute the action to the event.
   */
  exec() {
    this.event.preventDefault();
    var node = this.getElement('last');
    if (node) {
      node.focus();
    }
  }

}