[@rxap/layout](../wiki/globals) / FooterDirective

# Class: FooterDirective

Defined in: [footer/footer.directive.ts:16](https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/layout/src/lib/footer/footer.directive.ts#L16)

## Implements

- `OnInit`
- `OnDestroy`

## Constructors

### new FooterDirective()

> **new FooterDirective**(): [`FooterDirective`](../wiki/Class.FooterDirective)

#### Returns

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

## Methods

### ngOnDestroy()

> **ngOnDestroy**(): `void`

Defined in: [footer/footer.directive.ts:31](https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/layout/src/lib/footer/footer.directive.ts#L31)

A callback method that performs custom clean-up, invoked immediately
before a directive, pipe, or service instance is destroyed.

#### Returns

`void`

#### Implementation of

`OnDestroy.ngOnDestroy`

***

### ngOnInit()

> **ngOnInit**(): `void`

Defined in: [footer/footer.directive.ts:23](https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/layout/src/lib/footer/footer.directive.ts#L23)

A callback method that is invoked immediately after the
default change detector has checked the directive's
data-bound properties for the first time,
and before any of the view or content children have been checked.
It is invoked only once when the directive is instantiated.

#### Returns

`void`

#### Implementation of

`OnInit.ngOnInit`
