Common component settings
Last updated
Last updated
The visual components in QuickDEV share some general settings and configurations. However, you may encounter components for which certain settings do not apply, and therefore they are not displayed in the Application Editor.
The component name is crucial, as it serves as the identifier to address a visual component via JavaScript or in any dynamic manner.
It's advisable to generally choose between Snake- and Camel-Case for naming conventions. Kebab case is not recommended, as the "-" between words can potentially be misinterpreted as a minus operation in JavaScript in certain edge cases.
Many components offer the option to display labels for users, providing clear communication about the purpose of elements such as input fields.
QuickDEV enables on-the-fly translation of text based on the language information of the user's browser.
Labels and tooltips can use Handlebar JavaScript ({{ }}) expressions to retrieve translations from a JSON registry.
In the Layout Settings section, you'll find various settings tailored to the selected Component. Typically, these settings pertain to the positioning of the Component.
Orientation (left center right justify) (where applicable)
Vertical space (fixed, automatic) (where applicable)
Prefix and Suffix Icons (where applicable)
Handlebar JavaScript ({{ }}) expressions can dynamically hide or disable most Components.
Almost every Component has the capability to be dynamically hidden and shown. This functionality proves valuable for seamlessly switching between Application elements based on user input or interaction.
When components are buried, they do not take up vertical space. While this feature offers a unique potential, it also poses a minor challenge in the Application Editor. However, one advantage is that different Components can be dynamically switched (shown or hidden), allowing for dynamic reactions to user inputs and interactions.
When a Component is hidden, a 'small closed eye icon' appears in the App Editor to indicate its hidden state. However, the component remains draggable and selectable. When selected, it displays its true height until deselected.
Placing other components in the same vertical position as the hidden Component is now possible. However, this may pose a slight challenge in the App Editor when dragging and placing Components that overlap. To address this, it's recommended to utilize a static true/false setting for the 'Hidden' attribute. This ensures that the desired Component is displayed with its height when needed.
Event handlers are one of the powerful concepts of QuickDEV. Nearly every Component can generate events based on user interactions, allowing you to respond with various actions.
Change
Focus
Blu
Submit
Click
Open / Close
Switch Tab
When a Component supports user interaction events, you can define one or multiple actions for a single event type or for different event types.
Each event handler offers a selection of actions from a list of possible options, with each action having its own individual settings.
Run Query
Control Component
Run Javascript
Define Dynamic variable
Go to App
Show Notification
Go to URL
Copy to Clipboard
Export Data
Further details on Event Handlers can be found here.
In a future release of QuickDEV, we aim to enable the ability to rearrange the order of Event Handlers. Currently, this functionality is not available, requiring careful planning of the Event Actions' order if your application requires multiple Event Handlers for a single Component.
Components offer a range of styling options, including color schemes, borders, and background customization.