Home Reference Source
public class | source

Container

Extends:

React.Component → Container

A container layout component that sets document language based on Redux state and maintains the Redux width metric.

Constructor Summary

Public Constructor
public

Binds this to custom class methods.

Method Summary

Public Methods
public

Adds resize event listener.

public

Removes resize event listener.

public

render(): React.Fragment

Renders a React Fragment containing all other layout components.

public

Updates the window width metric from the window innerWidth.

Public Constructors

public constructor() source

Binds this to custom class methods.

Public Methods

public componentDidMount() source

Adds resize event listener.

Emit:

updateWidth

public componentWillUnmount() source

Removes resize event listener.

Emit:

updateWidth

public render(): React.Fragment source

Renders a React Fragment containing all other layout components.

Return:

React.Fragment

public updateWidth() source

Updates the window width metric from the window innerWidth.

Emit:

updateMetric