what is purpose of layout-content-mask div in app.main.component.html

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
turnquist1
Posts: 3
Joined: 19 Jan 2021, 19:03

22 Feb 2023, 22:12

Hello -

I am working to add roma to an application. In app.main.component.html there is a div towards the end of the file:

<div class="layout-content-mask"></div>

Can someone tell me what the purpose of this div is? Thanks!

gucal
Posts: 50
Joined: 06 Sep 2022, 08:45

24 Feb 2023, 15:58

Hi,

The purpose of this div is to mask the area outside the menu when the menu is opened in mobile view.

Image
Aliriza Gucal
PrimeNG Core Developer

turnquist1
Posts: 3
Joined: 19 Jan 2021, 19:03

24 Feb 2023, 21:51

Thank you gucal for the explanation. That is very helpful.

Post Reply

Return to “Roma - PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 15 guests