UNPKG

yoyo-ng-modulewindy

Version:

服务于52ABP模板的前端开源的相关组件内容。整合了ng-alain和你NG ZORRO的内容

24 lines 816 B
import { Directive, HostListener, Input } from '@angular/core'; import { XlsxService } from './xlsx.service'; var XlsxDirective = /** @class */ (function () { function XlsxDirective(srv) { this.srv = srv; } XlsxDirective.prototype._click = function () { this.srv.export(this.data); }; XlsxDirective.decorators = [ { type: Directive, args: [{ selector: '[xlsx]' },] }, ]; /** @nocollapse */ XlsxDirective.ctorParameters = function () { return [ { type: XlsxService } ]; }; XlsxDirective.propDecorators = { data: [{ type: Input, args: ['xlsx',] }], _click: [{ type: HostListener, args: ['click',] }] }; return XlsxDirective; }()); export { XlsxDirective }; //# sourceMappingURL=xlsx.directive.js.map