miraxes / angular-custom-tour

Custom tour hints
24 stars 12 forks source link

0.0.18 release correct? #23

Open kaishuu0123 opened 5 years ago

kaishuu0123 commented 5 years ago

Looks like it does not contain the #19 change. Fetch from https://npmjs.com.

node_modules/angular-custom-tour/src/intro-tour/tour.component.js

(snip)
    TourComponent.decorators = [
        { type: core_1.Component, args: [{
                    selector: variables_1.HintConfig.HINT_TAG,
                    template: "<div class=\"intro-tour-hint-wrapper {{transformClass}} step{{order}} {{position}}\"\n  *ngIf=\"showme\" [ngStyle]=\"{'top': topPos+'px', 'left': leftPos+'px'}\" >\n    <div class=\"header\" *ngIf=\"title\">{{title}}</div>\n    <div class=\"content\"><ng-content></ng-content></div>\n    <div class=\"footer\">\n      <a class=\"navigate-btn\" *ngIf=\"hasPrev\" (click)=\"prev()\">&#8592;</a>\n      <a class=\"navigate-btn\" *ngIf=\"hasNext\" (click)=\"next()\">&#8594;</a>\n      <a class=\"navigate-btn\" (click)=\"exit()\">&#10006;</a>\n    </div>\n  </div>",
                },] },
    ];
(snip)

reformated text in template

<a class=\"navigate-btn\" *ngIf=\"hasPrev\" (click)=\"prev()\">&#8592;</a>
<a class=\"navigate-btn\" *ngIf=\"hasNext\" (click)=\"next()\">&#8594;</a>
<a class=\"navigate-btn\" (click)=\"exit()\">&#10006;</a>\n

want a version that also contains #19 changes.