> For the complete documentation index, see [llms.txt](https://ngxf.gitbook.io/platform/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ngxf.gitbook.io/platform/api/initdirective.md).

# InitDirective

## Selectors

`[init]`

## Context

```typescript
interface InitContext {
    $implicit: any;
}
```

## Properties

| **Property**                                              | Description |
| --------------------------------------------------------- | ----------- |
| <p>@Input()</p><p>set <strong>initOf</strong>: string</p> |             |

## Example

```markup
<ng-container *init="let myvar of 'LOL'">
    {{ myvar }}
</ng-container>
```

[See more](/platform/features/init.md)
