Closed ccreusat closed 2 years ago
It makes sense, you need the test property on your composition component (just like the error message is explaining), something like:
@Component({
selector: 'dropdown-composition-cmp',
template: `<ode-dropdown [name]="test"></ode-dropdown>`
})
class DropdownCompositionComponent {
public test = "some name";
}
And if you want to make multiple compositions, just create multiple compositions files
It makes sense, indeed :-)
Thank you @ocombe
Hi !
First, I'm struggling to create multiple compositions for the same component with Angular.
Then, I can't figure how to pass my Input/Ouput with compositions:
-> passing [name]="test" is crashing
The composition file:
Thanks