[**@rxap/directives v19.0.4**](../README.md)

***

[@rxap/directives](../globals.md) / StopPropagationDirective

# Class: StopPropagationDirective

Defined in: [stop-propagation.directive.ts:10](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/directives/src/lib/stop-propagation.directive.ts#L10)

## Constructors

### new StopPropagationDirective()

> **new StopPropagationDirective**(): [`StopPropagationDirective`](StopPropagationDirective.md)

#### Returns

[`StopPropagationDirective`](StopPropagationDirective.md)

## Methods

### onClick()

> **onClick**(`$event`): `void`

Defined in: [stop-propagation.directive.ts:13](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/directives/src/lib/stop-propagation.directive.ts#L13)

#### Parameters

##### $event

`Event`

#### Returns

`void`
