Image

(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.

Properties

alternate

Value to be filled in alt html attribute of the img tag. Type: Tagstring


dataProviderID

Bound data provider identifier for the image value. Type: Dataprovider


editable

Flag indicating whether the image component is editable. Type: Protected Default Value: false


enabled

Flag indicating whether the image component is enabled for user interaction. Type: Enabled Default Value: true


media

Specifies the media resource to be used when displaying the image. Type: Media


styleClass

Set the styleclasses that should be applied at to this component Type: Styleclass


tabSeq

Tab sequence order for keyboard navigation. Type: Tabseq


toolTipText

Tooltip text displayed when hovering over the image. Type: Tagstring


visible

Whether the button is visible or not Type: Visible


Events

onActionMethodID(event)

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


onDataChangeMethodID(oldValue,newValue,event)

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:

Returns: {Boolean}


API


Last updated

Was this helpful?