Image
Last updated
Was this helpful?
Last updated
Was this helpful?
(part of package 'Bootstrap Components') Extends designtime/SolutionModel: JSWebComponent Extends runtime: RuntimeWebComponent
Image is a component that can show either a dataprovider based image (DB column/form or scope variable) or an image from the media section of your solution. When it is enabled and editable it also provides means to download and upload am image from/to the dataprovider.
This is a reference page; many components have detailed usage guides here.
Value to be filled in alt html attribute of the img tag. Type:
Bound data provider identifier for the image value. Type:
Flag indicating whether the image component is editable. Type: Default Value: false
Flag indicating whether the image component is enabled for user interaction. Type: Default Value: true
Fired when the image component is clicked.
Parameters:
{JSEvent} event The event object containing details about the click event e.g. target element, mouse coordinates
Handle changed data, return false if the value should not be accepted. JSEvent.data will contain extra information about dataproviderid, its scope and the scope id (record datasource or form/global variable scope)
Parameters:
{JSEvent} event The event object associated with the data change
Returns: {Boolean}
Specifies the media resource to be used when displaying the image. Type:
Set the styleclasses that should be applied at to this component Type:
Tab sequence order for keyboard navigation. Type:
Tooltip text displayed when hovering over the image. Type:
Whether the button is visible or not Type:
{} oldValue The previous image value from the data provider
{} newValue The new image value to be set in the data provider