Sha256: 270d0334c596e872cae75a222aa57266f547d7782ee07cdd311bbf3e0c847e3e

Contents?: true

Size: 413 Bytes

Versions: 1

Compression:

Stored size: 413 Bytes

Contents

/**
@module ember
*/
import { Mixin } from '@ember/-internals/metal';

export default Mixin.create({
  _transitionTo(state) {
    let priorState = this._currentState;
    let currentState = (this._currentState = this._states[state]);
    this._state = state;

    if (priorState && priorState.exit) {
      priorState.exit(this);
    }
    if (currentState.enter) {
      currentState.enter(this);
    }
  },
});

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
discourse-ember-source-3.6.0.0 dist/es/@ember/-internals/views/lib/mixins/view_state_support.js