interface SortPropertyProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.AmplifyUIBuilder.Mixins.CfnComponentPropsMixin.SortPropertyProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsamplifyuibuilder/mixins#CfnComponentPropsMixin_SortPropertyProperty |
Java | software.amazon.awscdk.mixins.preview.services.amplifyuibuilder.mixins.CfnComponentPropsMixin.SortPropertyProperty |
Python | aws_cdk.mixins_preview.aws_amplifyuibuilder.mixins.CfnComponentPropsMixin.SortPropertyProperty |
TypeScript | @aws-cdk/mixins-preview » aws_amplifyuibuilder » mixins » CfnComponentPropsMixin » SortPropertyProperty |
The SortProperty property specifies how to sort the data that you bind to a component.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as amplifyuibuilder_mixins } from '@aws-cdk/mixins-preview/aws-amplifyuibuilder';
const sortPropertyProperty: amplifyuibuilder_mixins.CfnComponentPropsMixin.SortPropertyProperty = {
direction: 'direction',
field: 'field',
};
Properties
| Name | Type | Description |
|---|---|---|
| direction? | string | The direction of the sort, either ascending or descending. |
| field? | string | The field to perform the sort on. |
direction?
Type:
string
(optional)
The direction of the sort, either ascending or descending.
field?
Type:
string
(optional)
The field to perform the sort on.

.NET
Go
Java
Python
TypeScript