Kuika's Switch element allows users to quickly enable or disable a specific feature or state. Users can easily switch between options using this element in the application interface. The Switch element is ideal for increasing user interaction and managing settings within the application in an intuitive way. In this guide, you will learn how to use the Switch element and how to configure setting options.
The Switch element can be used in both web and mobile applications.
This training content consists of the following topics:
Adding a Switch Element
Switch Element Properties
Element settings and customization
Add Switch Element
Log in to the Kuika platform.
Open the project you will work on from the Apps screen.
Go to the UI Design module.
Select the Select Input category from the Elements panel on the left side.
Drag and drop the Switch element to the workspace.
If you drag it to an empty space, the Switch element will be added along with a Row element.
If you drag it into Column, only the Switch element is added.
Switch Element Properties
Value: You can set the active or passive state of the Switch statically. You can also dynamically set this value based on the content of another element or the result of an action using Symbol Picker.
By following this guide, you can use the Switch element effectively in your application.
Element Settings and Customization
Authorization
Anonymous Access: Allows users to access without entering account information.
All Roles Access: Provides access by verifying users' account information.
For element-level authorization, edit Authorization settings in the Properties panel.
Visibility
Always Visible: Element is always visible.
Hidden: Element is hidden.
Sometimes Visible: The element is visible depending on a specific condition.
To configure the setting:
Select the element on the screen.
Open the Properties panel on the right edge.
In the Visibility field, select an option according to your needs.
Editability
Enabled: Elements can be edited.
Disabled: Element cannot be edited.
Sometimes Enabled: The element can be edited or uneditable according to certain conditions.
Interface Design with Style Panel
By customizing your elements with the Styling Panel, you can create impressive interfaces for your web and mobile applications. In this section, you can configure the following settings:
Layout: Sizing, alignment and padding settings. Settings include Size, Min Size and Align.
Text: Font, style, color, size and spacing settings.
Fill: Customize the background with color or images.
Border: Add borders and corner radius settings.
Shadow: Add a shadow effect to add depth to elements.
By following these steps, you can configure the Area Chart element to suit your needs.
Actions
Kuika supports the following system actions:
Arithmetic, Authorization, Condition, Device, Export, Geolocation, Inversion, Local Storage, Multi Language, Navigation, Notification, Payment, UI Control, Process Administration, Process Automation, Trigger, Process Automation, Process Administration and String Operations.
You can also use SQL actions that you create yourself.
You can use the +ADD ACTION button from the Properties panel to add an action.
Actions support may not be available in some elements.