open-vault/ui/app/components/wizard-content.js

14 lines
360 B
JavaScript
Raw Normal View History

import { inject as service } from '@ember/service';
import Component from '@ember/component';
2018-08-28 05:03:55 +00:00
export default Component.extend({
wizard: service(),
2018-08-28 05:03:55 +00:00
classNames: ['ui-wizard'],
glyph: null,
headerText: null,
actions: {
dismissWizard() {
this.get('wizard').transitionTutorialMachine(this.get('wizard.currentState'), 'DISMISS');
},
},
});