Widgets
Content widget components
onPress
3min
use the onpress event to add an action directly on the widget this is particularly helpful in scenarios where you do not want to open a {{jig}} to perform an action, for example, tapping on a widget opens a url or a modal configuration options configuration options core structure onpress choose from the provided list of available actions, for example, use the open url action to open a specific url examples and code snippets examples and code snippets widget with onpress in this example, tapping on the widget opens the info modal docid\ uqtlpzjir1g0vkvtkg9ua to display information regarding {{jigx}} examples see the full example in github grid jigx type component grid item options size "1x1" children type component jig widget options jigid onpress 4x2 onpress type action info modal options modal title welcome to jigx buttontext close element type image uri https //archbee image uploads s3 amazonaws com/x7vdidh6 sctprfmi2xxx/nusx 84sbgbtjlbxrwi5g landingpage s gif?format=webp\&width=1280