Html
Extends:
react~React.Component → Html
Компонент встаквки html-кода
Example:
<Html id="HtmlWidget"
url="/test.html"/>
Static Method Summary
| Static Public Methods | ||
| public static |
getDerivedStateFromProps(nextProps: *, prevState: *): {"html": *} |
|
Constructor Summary
| Public Constructor | ||
| public |
|
|
Member Summary
| Public Members | ||
| public |
state: {"html": *, "loading": *} |
|
Method Summary
| Public Methods | ||
| public |
Вызывает handleResponse, обработка реджекта и резолва |
|
| public |
fetch(): * |
|
| public |
getData() |
|
| public |
handleResponse(): * Фетчинг, если ошибка, то вызывает sendAlert |
|
| public |
render(): * Базовый рендер |
|
| public |
Отправляет сообщение об ошибке |
|
Static Public Methods
public static getDerivedStateFromProps(nextProps: *, prevState: *): {"html": *} source
Params:
| Name | Type | Attribute | Description |
| nextProps | * | ||
| prevState | * |
Return:
| {"html": *} |