Skip to content

Commit

Permalink
fix: imagepath docs (#839)
Browse files Browse the repository at this point in the history
* fixes image_path docs

Signed-off-by: Tiago Peres França <tiago.franca@zup.com.br>

* fixes image_path docs

Signed-off-by: Tiago Peres França <tiago.franca@zup.com.br>
  • Loading branch information
Tiagoperes committed Feb 8, 2022
1 parent 1e9c8e0 commit a86c355
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions content/en/api/components/ui/image/imagepath.md
Expand Up @@ -18,8 +18,8 @@ It will reference a image that is on locais.JSONKotlin DSL assets. Your structur

| **Attribute** | **Type** | **Definition** |
| :------------ | :------- | :--------------------------------------------------------------------- |
| url | String | Absolute or relative image path to be downloaded. |
| mobileId | String | Image's identifier that was previously registered on mobile platforms. |
| url | String or [**Binding**]({{< ref path="/api/context/#bindings" lang="en" >}}) | Absolute or relative image path to be downloaded. |
| mobileId | String or [**Binding**]({{< ref path="/api/context/#bindings" lang="en" >}}) | Image's identifier that was previously registered on mobile platforms. |

It will refer an image that it is already in the local assets.

Expand Down Expand Up @@ -60,7 +60,7 @@ It will reference an image that its hosted on another host or it's related to it

| **Attribute** | **Type** | Required | **Definition** |
| :------------ | :--------------------------------------------------------------------------------------- | :------- | :---------------------------------------------------------------------------------------------------- |
| url | String || Absolute or relative image path to be downloaded. |
| url | String or [**Binding**]({{< ref path="/api/context/#bindings" lang="en" >}}) || Absolute or relative image path to be downloaded. |
| placeholder | ****[**ImagePath.Local**]({{< ref path="/api/components/ui/image/imagepath#imagepathlocal" lang="en" >}})**** | | It's possible to pass a local asset on the app that will be shown meanwhile the remote URL is loaded. |

It will refer to an image that is hosted in another host or a relative one in the own server.
Expand Down
6 changes: 3 additions & 3 deletions content/pt/api/components/ui/image/imagepath.md
Expand Up @@ -18,8 +18,8 @@ A sua estrutura é representada como mostrado abaixo:

| **Atributo** | **Tipo** | **Definição** |
| :--- | :--- | :--- |
| url | String | Caminho absoluto ou relativo da imagem a ser baixada. |
| mobileId | String | Identificador da imagem que foi previamente cadastrada nas plataformas mobile. |
| url | String ou [**Binding**]({{< ref path="/api/context#binding" lang="pt" >}}) | Caminho absoluto ou relativo da imagem a ser baixada. |
| mobileId | String ou [**Binding**]({{< ref path="/api/context#binding" lang="pt" >}}) | Identificador da imagem que foi previamente cadastrada nas plataformas mobile. |

Irá referenciar uma imagem que já está nos assets locais.

Expand Down Expand Up @@ -56,7 +56,7 @@ A sua estrutura é representada como mostrado abaixo:

| **Atributos** | **Tipo** | Obrigatório | **Definição** |
| :--- | :--- | :--- | :--- |
| url | String || Caminho absoluto ou relativo da imagem a ser baixada. |
| url | String ou [**Binding**]({{< ref path="/api/context#binding" lang="pt" >}}) || Caminho absoluto ou relativo da imagem a ser baixada. |
| placeholder | [**ImagePath.Local**](#imagepathlocal) | | É possível passar um asset local no aplicativo que será mostrado enquanto a URL remota é carregada. |

Irá referenciar uma imagem que esteja hospedada em outro host ou relativo no próprio server.
Expand Down

0 comments on commit a86c355

Please sign in to comment.