Skip to content

Commit

Permalink
Refactor #9665
Browse files Browse the repository at this point in the history
  • Loading branch information
yigitfindikli committed Dec 22, 2020
1 parent 3b1bbbd commit dd9474f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/components/cascadeselect/cascadeselect.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NgModule, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, TemplateRef, ContentChildren, QueryList, ElementRef, Output, EventEmitter, ViewChild, forwardRef, ChangeDetectorRef, Renderer2, OnDestroy} from '@angular/core';
import { NgModule, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, TemplateRef, ContentChildren, QueryList, ElementRef, Output, EventEmitter, ViewChild, forwardRef, ChangeDetectorRef, Renderer2, OnDestroy, OnInit, AfterContentInit} from '@angular/core';
import { CommonModule } from '@angular/common';
import { SharedModule, PrimeTemplate } from 'primeng/api';
import { ObjectUtils } from 'primeng/utils';
Expand Down Expand Up @@ -40,7 +40,7 @@ export const CASCADESELECT_VALUE_ACCESSOR: any = {
encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush
})
export class CascadeSelectSub {
export class CascadeSelectSub implements OnInit {

@Input() selectionPath: any[];

Expand Down Expand Up @@ -273,7 +273,7 @@ export class CascadeSelectSub {
encapsulation: ViewEncapsulation.None,
styleUrls: ['./cascadeselect.css']
})
export class CascadeSelect {
export class CascadeSelect implements OnInit, AfterContentInit, OnDestroy {

@Input() styleClass: string;

Expand Down

0 comments on commit dd9474f

Please sign in to comment.