Configuration¶
Settings¶
where:
Argument | Description |
---|---|
Id |
Represents the unique identifier for the component. You can use this identifier to refer to this component when building your logic. |
Classes |
Allows applying custom CSS classes to the Image component. CSS classes define styles that can be used to control the appearance and formatting of the component. Refer to the Extensions topic for more information. |
Display |
Changes the visibility of the component in the application. The value of this property can be changed programmatically by using the Visibility Logic handler, refer to the Data Binding topic for more information. |
URL |
Identifies a path to the image in Backendless Cloud to be displayed in the application. The value of this property can be changed programmatically by using the Source URL Logic handler, refer to the Data Binding topic for more information. |
Alt |
This attribute specifies the text that will be displayed if the image fails to load or is read by a screen reader. It provides alternative information for accessibility. |
Width |
Represents the width of the image. Default measurement unit is px. |
Height |
Identifies the height of the image. Default measurement unit is px. |
Load Mode |
The Eager value loads the image immediately, while the Lazy value loads the image when it enters the viewport (becomes visible to the user). This helps optimize page loading and user experience by deferring the loading of non-critical images until they are needed. |
General¶
where:
Argument | Description |
---|---|
Position |
Determines the positioning behavior of the Image component within its parent container. Available options are:default - This option uses the default positioning behavior, which usually means that the Image component will follow the normal document flow and be positioned based on its place in the layout. When this option is selected, Position settings do not affect the position of the element.relative - Allows you to position the Image component relative to its normal position(default position) within the document flow. You can then use properties like top, bottom, left, and right to offset the component from its original position. These properties are available in the Position section of the component configuration.absolute - Positions the component absolutely within its closest positioned ancestor (a parent element with a position value other than fixed ). You can use properties like top, bottom, left, and right to specify the exact position. These properties are available in the Position section of the component.fixed - Positions the component relative to the viewport. It remains fixed even when the user scrolls the page. This is commonly used for elements that you want to stay in a specific position while the rest of the content scrolls.sticky - Makes the Image component behave like "relative" within its parent container until it reaches a specific scroll position. Then, it becomes "fixed" and stays in that position until the user scrolls past it. |
Z Index |
Determines the vertical stacking order of the Image component relative to other components on the same screen. Components with higher Z Index values will appear above components with lower values, effectively controlling their overlapping arrangement. This allows you to control the visual hierarchy of components, ensuring that certain elements appear in front of or behind others, providing flexibility in designing the user interface of your application. |
Cursor |
Identifies the cursor type when the mouse is hovered over the element. Refer to the Mozilla documentation to see what each cursor looks like. |
Flex¶
With Flex settings, you can control how components within a container are positioned, aligned, and distributed.
Icon |
Description |
---|---|
Default alignment of the element. |
|
Aligns to the start of its container. |
|
Aligns to the end of its container. |
|
Stretches to occupy all available space. |
|
Centers within its container. |
Dimension¶
where:
Argument | Description |
---|---|
Width |
Controls the width of the component. Available measurement units are: px , % , vw . |
Height |
Controls the height of the component. Available measurement units are: px , % , vh . |
Min Width |
Prevents the component from changing its width below the specified baseline value. Available measurement units are: px , % , vw . |
Min Height |
Prevents the component from changing its height below the specified baseline value. Available measurement units are: px , % , vh . |
Max Width |
Prevents the component from changing its width above the specified baseline value. Available measurement units are: px , % , vw . |
Max Height |
Prevents the component from changing its height above the specified baseline value. Available measurement units are: px , % , vh . |
Margin
Both positive and negative values can be utilized within the Margin settings.
where:
Argument | Description |
---|---|
Top |
Defines the space between the top edge of the Image component and the element above it. In case there is no element above the component, then the top border of the parent container will be used for margin spacing. Increasing the top margin value will create additional space above the Image. Available measurement units are: px , % , vh . |
Right |
Controls the space between the right edge of the Image component and the element to its right. If there is no element to the right of the component, then the right border of the parent container will be used for margin spacing. Adjusting the right margin value increases or decreases the space on the right side of the Image. Available measurement units are: px , % , vw . |
Bottom |
Determines the space between the bottom edge of the Image component and the element below it. In case there is no element below the component, then the bottom border of the parent container will be used for margin spacing. Increasing the bottom margin value adds space below the Image. Available measurement units are: px , % , vh . |
Left |
Sets the space between the left edge of the Image component and the element to its left. If there is no element to the left of the component, then the left border of the parent container will be used for margin spacing. Modifying the left margin value changes the space on the left side of the Image. Available measurement units are: px , % , vw . |
Position¶
where:
Argument | Description |
---|---|
Top |
Defines the vertical position of the element relative to its containing element. Available measurement units are: px , % , vh . |
Right |
Governs the horizontal positioning of the element relative to the left edge of its parent container. Available measurement units are: px , % , vw . |
Left |
Defines the horizontal positioning of the element relative to the right edge of its parent container. Available measurement units are: px , % , vw . |
Bottom |
Controls the vertical position of the component from the bottom edge of its containing element. Available measurement units are: px , % , vh . |
Decorations¶
where:
Argument | Description |
---|---|
Opacity |
Represents the opacity level of the Image component. |