The Image Control is a versatile component designed to display images in your application. It supports various configurations, including custom dimensions, preview functionality, and custom styles. Below is a detailed guide on how to use and configure this control.Documentation Index
Fetch the complete documentation index at: https://docs.codenullapp.com/llms.txt
Use this file to discover all available pages before exploring further.
Properties
The Image Control accepts the following properties:value
- Type:
stringorArray<{ url: string }> - Description:
- The image source. It can be a direct URL string or an array of objects containing URLs.
- If the input is a JSON string, it will be automatically parsed to extract the image URL.
-
Example:
or
Properties
- Type:
object - Description:
- A configuration object to customize the appearance and behavior of the image.
- Supported properties:
customStyles
Thestyleproperty allows you to modify the appearance of the image using CSS styles. These styles are passed as a JSON object.
Example
To add a red border and rounded corners to the image, you can configurestyleas follows:
tailwindClasses
Thestyleproperty allows you to modify the appearance of the image using tailwind classes. More info https://tailwindcss.com/
Agent Instructions: Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question. Perform an HTTP GET request on the current page URL with theask query parameter: