Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

139
Views
render a component in full screen view

I want to render a component in full screen view. Let us suppose the component is already mounted and it's available in the DOM.

// container for full screen view
<div>{anyComponent}</div>

Is there any way to view the component in full screen? rather than importing again & pass it to full screen view.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

By making use of .requestFullscreen().

Here is an example:

<div onclick="event.target.requestFullscreen()">click me!</div>

Of course, you don't need to use onclick

PS: btw, please note that default background-color in fullscreen is not the same as not in fullscreen, so you may need to account for this in your styling.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!