Class: Screen

LernLayouts.Mixins.Screen() → {object}

new Screen() → {object}

Screen - bind on view state heigth and width

Source:
Returns:

this.state.innerHeight and this.state.innerWidth

Type
object
Example
import { Screen } from 'meteor/duckdodgerbrasl:lern-layouts';
...
class SomeView extends React.Component {
...
 const { innerWidth, innerHeight } = this.state;
...
}
...
export default Screen(SomeView);