Home Reference Source
public class | source

Img

Extends:

react~Component → Img

Constructor Summary

Public Constructor
public

Component constructor

Member Summary

Public Members
public

Will be called on loading image

public

state: {"isImageLoaded": *}

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

Will be called on loading image

public state: {"isImageLoaded": *} source

Public Methods

public render(): react element source

Reneder component DOM

Return:

react element

return the DOM which rendered by component