-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Labels
need docThat issue should be shown in documentationThat issue should be shown in documentationresolvedThat issue was resolvedThat issue was resolved
Description
I'm using context to be able to have different inputs to my dynamic components. Is there a way to do the same for outputs? I don't know what my outputs will be ahead of time. This is fine for inputs but I can't figure it out for outputs
<ng-container
*ngxComponentOutlet="col.component; context: col.inputs"
>
</ng-container>
I'm building a table component that can take either values or components as data. Wondering how to bind outputs
`[
{ type: 'data', value: pipeline.name },
{ type: 'data', value: pipeline.time_last_modified },
{ type: 'data', value: 'Source' },
{ type: 'data', value: 'Dest' },
{ type: 'data', value: 'Schema Update' },
{ type: 'data', value: 'Schedule' },
{ type: 'data', value: 'Status' },
{
type: 'component',
component: LockComponent,
inputs: { owner: pipeline.lock_owner },
},
{
type: 'component',
component: PipelineLibraryActionsButtonsComponent,
inputs: { pipeline },
outputs: {run}
},
])`
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
need docThat issue should be shown in documentationThat issue should be shown in documentationresolvedThat issue was resolvedThat issue was resolved