From a86c355ac3023f3ecb8ad290db0652393666cac6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tiago=20Peres=20Fran=C3=A7a?= Date: Tue, 8 Feb 2022 16:28:45 -0300 Subject: [PATCH] fix: imagepath docs (#839) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fixes image_path docs Signed-off-by: Tiago Peres França * fixes image_path docs Signed-off-by: Tiago Peres França --- content/en/api/components/ui/image/imagepath.md | 6 +++--- content/pt/api/components/ui/image/imagepath.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/content/en/api/components/ui/image/imagepath.md b/content/en/api/components/ui/image/imagepath.md index 14f610bcf..93f172b31 100644 --- a/content/en/api/components/ui/image/imagepath.md +++ b/content/en/api/components/ui/image/imagepath.md @@ -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. @@ -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. diff --git a/content/pt/api/components/ui/image/imagepath.md b/content/pt/api/components/ui/image/imagepath.md index fee0f6201..d30403815 100644 --- a/content/pt/api/components/ui/image/imagepath.md +++ b/content/pt/api/components/ui/image/imagepath.md @@ -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. @@ -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.