# ReturnDirective

## Selectors

`[return]`

## Context

```typescript
interface ComposedContext {
    $implicit: any;
    templateRefs: TemplateRef<ComposedContext>[];
    [key: string]: any;
}
```

## Properties

| **Property**                                       | Description |
| -------------------------------------------------- | ----------- |
| <p>@Input()</p><p><strong>return</strong>: any</p> |             |

## Example

```markup
<ng-template #pluck let-object>
    <ng-container *return="object.hello"></ng-container>
</ng-template>

<ng-container *compose="let hello of [ pluck ] use { hello: 'World!' }">
    {{ hello }} // World!
</ng-container>
```

[See more](https://ngxf.gitbook.io/platform/recompose/compose)
