Skip to content

Commit

Permalink
chore: code style, cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
tomastrajan committed Sep 2, 2024
1 parent 40e2058 commit ededf5a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ export class LazyElementDynamicDirective implements OnInit {
errorTemplateRef: TemplateRef<any> | null = null;
@Input('axLazyElementDynamicModule') isModule = false; // eslint-disable-line @angular-eslint/no-input-rename
@Input('axLazyElementDynamicImportMap') importMap = false; // eslint-disable-line @angular-eslint/no-input-rename
@Input('axLazyElementLoadingSuccess') loadingSuccess?: () => void;
@Input('axLazyElementLoadingSuccess') loadingSuccess?: () => void; // eslint-disable-line @angular-eslint/no-input-rename
// eslint-disable-next-line @angular-eslint/no-input-rename
@Input('axLazyElementLoadingError') loadingError?: (
error: ErrorEvent,
) => void;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ export class LazyElementDirective implements OnInit, OnChanges {
errorTemplateRef: TemplateRef<any> | null = null;
@Input('axLazyElementModule') isModule?: boolean; // eslint-disable-line @angular-eslint/no-input-rename
@Input('axLazyElementImportMap') importMap = false; // eslint-disable-line @angular-eslint/no-input-rename
@Input('axLazyElementLoadingSuccess') loadingSuccess?: () => void;
@Input('axLazyElementLoadingSuccess') loadingSuccess?: () => void; // eslint-disable-line @angular-eslint/no-input-rename
// eslint-disable-next-line @angular-eslint/no-input-rename
@Input('axLazyElementLoadingError') loadingError?: (
error: ErrorEvent,
) => void;
Expand Down Expand Up @@ -87,7 +88,6 @@ export class LazyElementDirective implements OnInit, OnChanges {

#setupUrlListener(): void {
const tpl = this.#template as any;
console.log(tpl);
const elementTag = tpl._declarationTContainer
? tpl._declarationTContainer.tagName || tpl._declarationTContainer.value
: tpl._def.element.#template.nodes[0].element.name;
Expand Down

0 comments on commit ededf5a

Please sign in to comment.