File

app/dxa/dxa-entity/views/footer/footer-region/footer-region.component.ts

Implements

OnInit

Metadata

selector div[footer-region]
templateUrl ./footer-region.component.html

Index

Properties
Methods
Inputs

Constructor

constructor(constants: ConstantsService)
Parameters :
Name Type Optional
constants ConstantsService No

Inputs

region

Methods

ngOnInit
ngOnInit()
Returns : void

Properties

Public constants
Type : ConstantsService
import { Component, OnInit, Input } from '@angular/core';
import { ConstantsService } from 'src/app/shared/constants/constants.service';

@Component({
	selector: 'div[footer-region]',
	templateUrl: './footer-region.component.html',
})
export class FooterRegionComponent implements OnInit {

	@Input() region;

	constructor(public constants: ConstantsService) { }

	ngOnInit() {
	}

}
<ng-container *ngIf="region?.length > 0">
	<ng-container *ngFor="let row of region">
		<section dxa-entity [entities]="row" [region]="'FOOTER'"></section>
	</ng-container>
</ng-container>
Legend
Html element
Component
Html element with directive

result-matching ""

    No results matching ""