-
-
Save hersonls/4b4a8ce57a98ab1a159f5e2c50814d08 to your computer and use it in GitHub Desktop.
Angular 4.4.4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | |
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | |
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); | |
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; | |
return c > 3 && r && Object.defineProperty(target, key, r), r; | |
}; | |
import { Component, HostBinding } from '@angular/core'; | |
var LoadingComponent = (function () { | |
function LoadingComponent(loadingService) { | |
var _this = this; | |
this.loadingService = loadingService; | |
this.elementClass = false; | |
this.loadingService.isVisible.subscribe(function (isVisible) { | |
_this.elementClass = isVisible; | |
}); | |
} | |
return LoadingComponent; | |
}()); | |
__decorate([ | |
HostBinding('class.visible') | |
], LoadingComponent.prototype, "elementClass", void 0); | |
LoadingComponent = __decorate([ | |
Component({ | |
selector: 'app-loading', | |
template: require('./loading.component.html'), | |
styles: [require('./loading.component.css')] | |
}) | |
], LoadingComponent); | |
export { LoadingComponent }; | |
//# sourceMappingURL=loading.component.js.map |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment