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

***

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

# Class: StopPropagationDirective

Defined in: [stop-propagation.directive.ts:10](https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/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/36b0e9732b24717840935712e316593ff6aba795/packages/angular/directives/src/lib/stop-propagation.directive.ts#L13)

#### Parameters

##### $event

`Event`

#### Returns

`void`
