import { Component , OnInit , BeforeMount , AfterMount , ReceiveInputs , SetState , OnDestory , ElementRef , Input , StateSetter } from '@indiv/core' ; @ Component ( { selector : 'pp-childs' , templateUrl : 'pp-childs/template.html' , } ) export class PCChild implements OnInit , BeforeMount , AfterMount , ReceiveInputs , OnDestory { public a : string = 'a' ; @ Input ( 'ax' ) public b : any ; public d : any [ ] = [ { z : 101111 , b : 'a' , } , { z : 103333 , b : 'a' , } , ] ; @ StateSetter ( ) public setState : SetState ; constructor ( private element ) { } public nvHasRender ( ) { console . log ( 'PCChild hasRender : this.props' , this . b , this . element ) ; } public nvOnInit ( ) { console . log ( 555 , 'PCChild nvOnInit props11' , this . b ) ; } public sendProps ( i ) { console . log ( 'this.props' , this . b ) ; } public nvBeforeMount ( ) { console . log ( 'PCChild nvBeforeMount props11' , this . b ) ; } public nvAfterMount ( ) { console . log ( 'PCChild nvAfterMount props11' , this . b ) ; } public nvOnDestory ( ) { console . log ( 'PCChild nvOnDestory' ) ; } public nvReceiveInputs ( nextInputs ) { console . log ( 4444 , nextInputs ) ; } }