Hi,

Is it possible to extend a components e.g.

export class BaseChart {


  @Input() animate: boolean;
}

with

@Component({selector: 'p-pieChart'})
export class PieChart extends BaseChart {
    @Input() data: any[]
}

So that it can be used as;

<p-pieChart [animate]="true" [data]="values"></p-pieChart>

I haven't succeed in setting animate property from the p-pieChart element 
using [animate]="true", it is always undefined when I use it at PieChart 
class.

Regards,

Cagatay

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to