[@rxap/directives](../wiki/globals) / 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`](../wiki/Class.StopPropagationDirective)

#### Returns

[`StopPropagationDirective`](../wiki/Class.StopPropagationDirective)

## 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`
