Creates a new ResponsiveViewRule. Pass a CSS media query, or a callback that should return true if the associated renderer should be used as the ReaderView's activeRenderer.
Media query example: '(orientation: landscape) and (min-width: 500px)' See https://developer.mozilla.org/en-US/docs/Web/CSS/Media_Queries/Using_media_queries for more information.
Should return true if the associated Renderer should be used as the ReaderView's activeRenderer.
Generated using TypeDoc
Used with ReaderView.addRenderer() to control when the associated renderer should be used as the ReaderView's activeRenderer.