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

EditProfile

Extends:

react~Component → EditProfile

Constructor Summary

Public Constructor
public

Component constructor

Member Summary

Public Members
public
public
public
public
public

handleInputChange(evt: event): *

Handle data on input change

public
public
public
public
public

handleResize(evt: event): *

Handle resize event for window to change sidebar status

public

Update profile on the server

public

state: {"isSmall": *, "tagLineInput": *, "fullNameInput": *, "fullNameInputError": *, "banner": *, "avatar": *, "openBanner": *, "openAvatar": *}

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

public handleCloseAvatarGallery: * source

public handleCloseBannerGallery: * source

public handleInputChange(evt: event): * source

Handle data on input change

public handleOpenAvatarGallery: * source

public handleOpenBannerGallery: * source

public handleRequestSetAvatar: * source

public handleRequestSetBanner: * source

public handleResize(evt: event): * source

Handle resize event for window to change sidebar status

public handleUpdate: * source

Update profile on the server

public state: {"isSmall": *, "tagLineInput": *, "fullNameInput": *, "fullNameInputError": *, "banner": *, "avatar": *, "openBanner": *, "openAvatar": *} source

Public Methods

public render(): react element source

Reneder component DOM

Return:

react element

return the DOM which rendered by component