UNPKG

ngx-obelisco-example

Version:

Componentes funcionales y reutilizables para Angular.

18 lines 3.86 kB
import { Component, Input } from '@angular/core'; import * as i0 from "@angular/core"; import * as i1 from "@angular/common"; export class PaginationItemComponent { } PaginationItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PaginationItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); PaginationItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: PaginationItemComponent, selector: "o-pagination-item", inputs: { isActive: "isActive", isDisabled: "isDisabled", isNoEvent: "isNoEvent" }, ngImport: i0, template: "<li class=\"page-item\" [class.active]=\"isActive\" [class.no-events]=\"isNoEvent\" [class.disabled]=\"isDisabled\">\r\n <ng-container *ngIf=\"isNoEvent; else showLink\">\r\n <span class=\"page-link\">...</span>\r\n </ng-container>\r\n <ng-template #showLink>\r\n <a class=\"page-link\" href=\"#\">\r\n <ng-content></ng-content>\r\n </a>\r\n </ng-template>\r\n</li>\r\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PaginationItemComponent, decorators: [{ type: Component, args: [{ selector: 'o-pagination-item', template: "<li class=\"page-item\" [class.active]=\"isActive\" [class.no-events]=\"isNoEvent\" [class.disabled]=\"isDisabled\">\r\n <ng-container *ngIf=\"isNoEvent; else showLink\">\r\n <span class=\"page-link\">...</span>\r\n </ng-container>\r\n <ng-template #showLink>\r\n <a class=\"page-link\" href=\"#\">\r\n <ng-content></ng-content>\r\n </a>\r\n </ng-template>\r\n</li>\r\n" }] }], propDecorators: { isActive: [{ type: Input }], isDisabled: [{ type: Input }], isNoEvent: [{ type: Input }] } }); //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGF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