ngx-obelisco-example
Version:
Componentes funcionales y reutilizables para Angular.
17 lines • 2.62 kB
JavaScript
import { Component, Input } from '@angular/core';
import * as i0 from "@angular/core";
import * as i1 from "@angular/common";
export class OBlockTitleComponent {
constructor() {
this.customClasses = '';
}
}
OBlockTitleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: OBlockTitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
OBlockTitleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: OBlockTitleComponent, selector: "o-block-title", inputs: { customClasses: "customClasses" }, ngImport: i0, template: "<h2 class=\"block-title\" [ngClass]=\"customClasses\"><ng-content></ng-content></h2>\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: OBlockTitleComponent, decorators: [{
type: Component,
args: [{ selector: 'o-block-title', template: "<h2 class=\"block-title\" [ngClass]=\"customClasses\"><ng-content></ng-content></h2>\r\n" }]
}], ctorParameters: function () { return []; }, propDecorators: { customClasses: [{
type: Input
}] } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiby1ibG9jay10aXRsZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtb2JlbGlzY28vYmxvY2svby1ibG9jay10aXRsZS9vLWJsb2NrLXRpdGxlLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1vYmVsaXNjby9ibG9jay9vLWJsb2NrLXRpdGxlL28tYmxvY2stdGl0bGUuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFN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