1 | "use strict";
|
2 | var rxjs_1 = require('rxjs');
|
3 | var ActivatedTutorial = (function () {
|
4 | function ActivatedTutorial() {
|
5 | this.step = new rxjs_1.Subject();
|
6 | this.tutorial = new rxjs_1.Subject();
|
7 | this.steps = new rxjs_1.Subject();
|
8 | }
|
9 | ActivatedTutorial.prototype.updateCurrentTutorial = function (tutorial) {
|
10 | this.tutorial.next(tutorial);
|
11 | };
|
12 | ActivatedTutorial.prototype.updateCurrentStep = function (step) {
|
13 | this.step.next(step);
|
14 | };
|
15 | ActivatedTutorial.prototype.updateCurrentSteps = function (steps) {
|
16 | this.steps.next(steps);
|
17 | };
|
18 | return ActivatedTutorial;
|
19 | }());
|
20 | exports.ActivatedTutorial = ActivatedTutorial;
|
21 |
|
\ | No newline at end of file |