How do I programmatically close the Immersive Reader?

113 Views Asked by At

I would like to be able to close the Immersive Reader in code, without the need for user intervention. Is there a way to do this?

1

There are 1 best solutions below

0
mztan On BEST ANSWER

You can use the ImmersiveReader.close() function to close the Immersive Reader. The documentation is available here.