UNPKG

723 BJavaScriptView Raw
1"use strict";
2var rxjs_1 = require('rxjs');
3var 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}());
20exports.ActivatedTutorial = ActivatedTutorial;
21//# sourceMappingURL=current-tutorial.js.map
\No newline at end of file