Home Reference Source
public class | source

Sidebar

Extends:

react~Component → Sidebar

Constructor Summary

Public Constructor
public

Component constructor

Member Summary

Public Members
public
public
public
public

handleKeyUp(evt: event): *

Handle keyup event for window to close sidebar

public
public

handleResize(evt: event): *

Handle resize event for window to change sidebar status

public

open(status: boolean, source: string): *

Handle open sidebar

public

state: {"sidebarClass": *, "overlay": *, "mainStyle": *, "open": *, "auto": *, "overlayOpen": *, "shouldBeClosed": *}

Method Summary

Public Methods
public

render(): react element

Reneder component DOM

Public Constructors

public constructor(props: object) source

Component constructor

Params:

NameTypeAttributeDescription
props object

is an object properties of component

Public Members

public componentDidMount: * source

public componentWillMount: * source

public getChildren: * source

public handleKeyUp(evt: event): * source

Handle keyup event for window to close sidebar

public handleLogout: * source

public handleResize(evt: event): * source

Handle resize event for window to change sidebar status

public open(status: boolean, source: string): * source

Handle open sidebar

public state: {"sidebarClass": *, "overlay": *, "mainStyle": *, "open": *, "auto": *, "overlayOpen": *, "shouldBeClosed": *} source

Public Methods

public render(): react element source

Reneder component DOM

Return:

react element

return the DOM which rendered by component