ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
1 lines • 3.16 kB
Source Map (JSON)
{"version":3,"file":"ng-zorro-antd-core-element-patch.mjs","sources":["../../components/core/element-patch/element-patch.directive.ts","../../components/core/element-patch/element-patch.module.ts","../../components/core/element-patch/public-api.ts","../../components/core/element-patch/ng-zorro-antd-core-element-patch.ts"],"sourcesContent":["/**\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE\n */\n\nimport { Directive, ElementRef } from '@angular/core';\n\nimport { NzSafeAny } from 'ng-zorro-antd/core/types';\n\n/**\n * A patch directive to select the element of a component.\n */\n@Directive({\n selector: '[nzElement], [nz-element]',\n exportAs: 'nzElement'\n})\nexport class NzElementPatchDirective {\n get nativeElement(): NzSafeAny {\n return this.elementRef.nativeElement;\n }\n\n constructor(public elementRef: ElementRef) {}\n}\n","/**\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE\n */\n\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { NzElementPatchDirective } from './element-patch.directive';\n\n@NgModule({\n imports: [CommonModule],\n declarations: [NzElementPatchDirective],\n exports: [NzElementPatchDirective]\n})\nexport class NzElementPatchModule {}\n","/**\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE\n */\n\nexport * from './element-patch.directive';\nexport * from './element-patch.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;AAAA;;;AAGG;AAMH;;AAEG;MAKU,uBAAuB,CAAA;AAKlC,IAAA,WAAA,CAAmB,UAAsB,EAAA;AAAtB,QAAA,IAAU,CAAA,UAAA,GAAV,UAAU,CAAY;KAAI;AAJ7C,IAAA,IAAI,aAAa,GAAA;AACf,QAAA,OAAO,I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