packages/ecl/components/ecl-site-header/services/ecl-area-data.service.ts
This class is used for methods, that serve for communication between the components in ecl-side-header.
Properties |
|
Methods |
constructor()
|
| publishEvent | ||||||
publishEvent(event: EclAreaChangeEvent)
|
||||||
|
When header is resized, some of it's chidren parameters for positioning on the screen need to be recalculated. This event publishes the new site header position, so that the chidren can adjust their position accordingly.
Parameters :
Returns :
void
|
| Public dataSubject$ |
Type : Observable<EclAreaChangeEvent>
|