DEV Community

Cover image for View code snippets in fullscreen mode
Adrian Matei for Codever

Posted on • Updated on

 

View code snippets in fullscreen mode

You can now view the code snippets in fullscreen mode if they are too long or some of the lines too wide:

Enter full screen mode from snippet

For the implementation in frontend with Angular I used screenfull.js1, which is a simple wrapper for cross-browser usage of the JavaScript Fullscreen API2.

👉 See How to display an element in full screen in Angular with screenfull.js for complete details about the implementation


👉 The whole source code of the project is available on Github


  1. https://github.com/sindresorhus/screenfull.js/ ↩

  2. https://developer.mozilla.org/en-US/docs/Web/API/Fullscreen_API ↩

Top comments (0)

Timeless DEV post...

Git Concepts I Wish I Knew Years Ago

The most used technology by developers is not Javascript.

It's not Python or HTML.

It hardly even gets mentioned in interviews or listed as a pre-requisite for jobs.

I'm talking about Git and version control of course.

One does not simply learn git