# EclModalTriggerDirective

**Type:** directive



Directive used to trigger opening of a target ECL modal on click.


**Selector:** `[eclModalTriggerFor]`

## Inputs
- **eclModalTriggerFor**: `EclModalComponent<T>` - Reference to the modal component that should be opened on click.
- **class**: `string` - 
- **e2eAttr**: `any` - 
- **tabindex**: `number` - 
