jig.default
Type jig.default is the most versatile jig allowing you to create a jig with various setup options such as:
A form
A list
The jig which can be a part of the jig.composite
Used with a combination of different components and actions.

Configuration options
Some properties are common to all jig types, see Common jig type properties for a list and their configuration options.
children
Add the UI elements () under the children property, for example, component.form. Use Intellisense (ctrl+space) to select a component from the available list.
title
Provide the name of the screen. If you do not want to show a title in a jig use title: ' ' or add an expression.
Other options
The jig.default is the most versatile jig available allowing you to create a variety of screens. Many options are available for configuration on this jig.
actions
Choose from the provided list of available actions, for example, use the go-to action to open a different jig.
badge
Enhance your tabs with a badge, for instance show the number of grid-items. Add the badge property to the jig YAML with an expression.
bottomSheet
The bottomSheet element slides up from the bottom of the screen to present additional content, actions, or contextual information. See bottomSheet (Beta) for more information.
description
Give the jig a description that is displayed under the title.
expressions
Use the expressions property to set global expressions that are reusable throughout the jig.
filter
The filter property creates tabbed filter options to categorize and filter data in the jig. For more information, see the filter in the common jig type properties.
icon
The icon will be displayed on the jig widget. Start typing the name of the icon to invoke the available list in IntelliSense. See Jigx icons for information on working with icons. The icon property applies to component.jig-widget without a widgetId.
inputs
Configure inputs that allow you to receive data from other jigs and use it in the current jig.
isCollapsible
When the jig is used in a composite jig and this property is set to true, a collapse and expand icon is shown, allowing the jig to be collapsed. This is helpful if the composite jig has several jigs configured, making it easier to view and interact with the app.
isHomeButtonVisible
By default, the home button is visible on all jigs except the Home Hub. You can hide the home button on a jig if needed by setting the isHomeButtonVisible property to false. For more information, see the home button visibility in the common jig type properties.
isSearchable
By default, the home button is visible on all jigs except the Home Hub. You can hide the home button on a jig if needed by setting the isHomeButtonVisible property to false. For more information, see the filter in the common jig type properties.
isWaitingSync
Displays a waiting sync indicator.
jigId
Give the jig a unique ID that can be referenced outside the jig, for example, in state expressions.
output
Configure outputs that allow you to transfer data out of the current jig and use it in another jig. When referencing the output in another jig, use [email protected].[instance-id-of-the-jig].outputs.[key-of-output]
placeholders
Create a placeholder to show when there is no data to use yet.
state
See state for more information.
summary
Add a component that displays at the bottom of the jig. See the summary component for more information.
widgets
Add a widget in the jig. See widgets for configuration options.
Examples and code snippets
The code below is an extract from the full jigx-samples solution. The code snippets describe the component discussed in this section. For the solution to function in the Jigx app download the full jigx-samples project from GitHub, and follow the instructions in Setting up your solution.
Jig.default as a Form

Jig.default as a List

Other examples of jig.default


See also
Last updated
Was this helpful?