Fullscreen mode for components.html() or components.iframe()

Hey, I want to have a view fullscreen option in the components.html() similar to the fullscreen option while displaying the dataframe in st.write().

I searched through the discussions and figured out that this has been fixed in https://github.com/streamlit/streamlit/pull/1713 .

However, I am not sure on how to use Element.requestFullscreen() web API with the components.html() to make the view fullscreen option available.

Any help in this regard will be highly appreciated!