The Thumbnail element is an element used to present a small preview of content on web pages or applications and is often used to improve the user experience and provide quick access to content.
Adding theThumbnail element into your application is quite simple. You can follow the steps below to add the Thumbnail element:
Thumbnail element only supports web applications. It does not support mobile applications.
This is the panel that opens when you click on the Thumbnail element. Properties panel;
Value: You can add a static value to the Value field or you can dynamically add a value of a status, Thumbnail element content or an action result via Symbol Picker.
Place holder Image: Placeholder is the image shown when there is no Image value.
Zoom On Click: Zoom On Click allows you to specify whether a larger version of the image is displayed when you click on thumbnails. When you activate the switch, you can switch from a small preview to a full-size image.
Image Fit: The Thumbnail element can have a custom size depending on the value it receives via Styling > Layout. It can also have a size that the Image element has through its parent element. In such cases, you can specify how to fit the image to be displayed into the Image element frame.
Position: This is the field where the position of the image to be displayed in the Thumbnail element is determined from the popup window (bottom, center, right, left, top).
You can customize user access with “Anonymous Access” and “All Roles Access” authorization options on the screens and elements of your application. While “Anonymous Access” enables access without any account information query, “All Roles Access” provides access by verifying user account information.
For element level authorization, you can manage the security and user experience of your application by selecting the relevant element and editing the “Authorization” settings from the Properties panel.
Kuika contains system actions such as Arithmetic, Authorization, Condition, Device, Export, GeoLocation, Local Storage, Multi Language, Navigation, Notification, Payment Stripe, UI Control, Trigger, Process Automation, Process Administration and String Operations.
In addition to system actions, you can also use SQL actions that you create yourself.
You can use the +Add Action button in the Properties panel to add actions to the elements.
It allows you to adjust the visibility of screens or elements. Visibility in Elements allows you to regulate visibility based on a specific state or condition. For each element, you can make it always visible, hidden, or visible and hidden depending on a condition.
By customizing your elements with the Styling Panel, you can create unique and impressive user interfaces in your web and mobile applications.
Example Thumbnail Element Usage:
To add a file to the Thumbnail element, click the Add File button. Upload File action, which is in the function of uploading a file, should be added with +Add Action in the element.
Click OnClick→ Device→ Upload File to add the Upload File action.
Then add the SetValueOf action. To add the Set Value Of system action, select Onclick→ UIControl→SetValueOf.
After creating the SetValueOf action, select the Thumbnail element from the pop-up window in the action.
After selecting the Thumbnail element, it comes with the value parameter. Click Symbol Picker to fill the value parameter.
Select Action Results→ Upload File →Data.
Then preview the application by clicking the Run button. When the button is clicked, a screen will open for uploading files from your device. You can select either PDF or image file from there. The file you selected as PDF will be displayed with the PDF icon, while the added image file preview will also be displayed.