Home Reference Source
import {HomeHeader} from 'peter-test/app/components/HomeHeader.jsx'
public class | source

HomeHeader

Extends:

react~Component → HomeHeader

Constructor Summary

Public Constructor
public

Component constructor

Member Summary

Public Members
public
public

Handle touch on user avatar for popover

public

Handle close notification menu

public

Handle logout user

public

Handle notification touch

public

Handle close popover

public

handleResize(evt: event): *

Handle resize event for window to manipulate home header status

public
public

state: {"openAvatarMenu": *, "showTitle": boolean, "openNotifyMenu": *}

Method Summary

Public Methods
public

render(): *

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 handleAvatarTouchTap: * source

Handle touch on user avatar for popover

public handleCloseNotify: * source

Handle close notification menu

public handleLogout: * source

Handle logout user

public handleNotifyTouchTap: * source

Handle notification touch

public handleRequestClose: * source

Handle close popover

public handleResize(evt: event): * source

Handle resize event for window to manipulate home header status

public onToggleSidebar: * source

public state: {"openAvatarMenu": *, "showTitle": boolean, "openNotifyMenu": *} source

Public Methods

public render(): * source

Return:

*