UNPKG

ngx-obelisco-example

Version:

Componentes funcionales y reutilizables para Angular.

17 lines 2.68 kB
import { Component, Input } from '@angular/core'; import * as i0 from "@angular/core"; import * as i1 from "@angular/common"; export class OCardBadgesComponent { constructor() { this.customClasses = ''; } } OCardBadgesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: OCardBadgesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); OCardBadgesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: OCardBadgesComponent, selector: "o-card-badges", inputs: { customClasses: "customClasses" }, ngImport: i0, template: "<div class=\"card-badges\" [ngClass]=\"customClasses\">\r\n <ng-content></ng-content>\r\n</div>\r\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] }); i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: OCardBadgesComponent, decorators: [{ type: Component, args: [{ selector: 'o-card-badges', template: "<div class=\"card-badges\" [ngClass]=\"customClasses\">\r\n <ng-content></ng-content>\r\n</div>\r\n" }] }], ctorParameters: function () { return []; }, propDecorators: { customClasses: [{ type: Input }] } }); //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiby1jYXJkLWJhZGdlcy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtb2JlbGlzY28vY2FyZC9vLWNhcmQvby1jYXJkLWJhZGdlcy9vLWNhcmQtYmFkZ2VzLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1vYmVsaXNjby9jYXJkL28tY2FyZC9vLWNhcmQtYmFkZ2VzL28tY2FyZC1iYWRnZXMuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOlt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