matchMedia

abstract var matchMedia: (query: String) -> MediaQueryList?(source)

You can provide your own implementation of matchMedia. This can be used for handling an iframe content window.