You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi I am in the process of upgrading my angular application from 5 to 8
facing a error where it says Property 'exit' does not exist on type 'Screenfull
I want to toggle 'summary-fullscreen' element section only here
I got two errors actually after upgrade.
In showfullscreen function I used to have screenfull.enabled I renamed it to screenfull.isEnabled the error went off later I got the issue with property exit in closeFullscreen() funtion
@sindresorhus How can you close the issue without giving solution to this. it's still showing the error as where it says Property 'exit' does not exist on type 'Screenfull please explain the fix
Hi I am in the process of upgrading my angular application from 5 to 8
facing a error where it says Property 'exit' does not exist on type 'Screenfull
I want to toggle 'summary-fullscreen' element section only here
I got two errors actually after upgrade.
showFullScreen() {
const goFullScreenTarget = document.getElementById('summary-fullscreen');
if (screenfull.isEnabled) {
screenfull.request(goFullScreenTarget);
}
}
closeFullScreen() {
screenfull.exit();
}
another issue, Property 'on' does not exist on type 'Screenfull
screenfull.on('change', () => {
this.isFullscreen = !this.isFullscreen;
});
The text was updated successfully, but these errors were encountered: