Answers for "ndc-dynamic how to bind the @INPUT IN the chaild components"

0

ndc-dynamic how to bind the @INPUT IN the chaild components

@Component({  selector: 'my-component',  template: `    <ndc-dynamic      [ndcDynamicComponent]="component"      [ndcDynamicOutputs]="{        onSomething: { handler: doSomething, args: ['$event', tplVar] }      }"    ></ndc-dynamic>  `,})class MyComponent {  component = MyDynamicComponent1;  tplVar = 'some value';  doSomething(event, tplValue) {}}
Posted by: Guest on September-25-2020

Code answers related to "ndc-dynamic how to bind the @INPUT IN the chaild components"

Code answers related to "Javascript"

Browse Popular Code Answers by Language