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

ImageGallery

Extends:

react~Component → ImageGallery

Member Summary

Public Members
public

close: *

public

handleDeleteImage(evt: event, id: integer): *

Handle delete image

public

Handle send image resize event that pass the resized image

public

handleSetImage(evt: event, name: string): *

Handle set image

public
public

Method Summary

Public Methods
public
public
public

render(evt: event, data: string): *

When the post text changed

Public Members

public close: * source

public handleDeleteImage(evt: event, id: integer): * source

Handle delete image

public handleSendResizedImage: * source

Handle send image resize event that pass the resized image

public handleSetImage(evt: event, name: string): * source

Handle set image

public imageList: * source

public onFileChange: * source

Public Methods

public componentDidMount() source

public componentWillUnmount() source

public render(evt: event, data: string): * source

When the post text changed

Params:

NameTypeAttributeDescription
evt event

is an event passed by change post text callback funciton

data string

is the post content which user writes

Return:

*