Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ComponentProperty

import type { ComponentProperty } from "https://aws-api.deno.dev/v0.3/services/amplifyuibuilder.ts?docs=full";

Describes the configuration for all of a component's properties. Use ComponentProperty to specify the values to render or bind by default.

interface ComponentProperty {
bindingProperties?: ComponentPropertyBindingProperties | null;
bindings?: {
[key: string]: FormBindingElement | null | undefined;
}
| null;
collectionBindingProperties?: ComponentPropertyBindingProperties | null;
concat?: ComponentProperty[] | null;
condition?: ComponentConditionProperty | null;
configured?: boolean | null;
defaultValue?: string | null;
event?: string | null;
importedValue?: string | null;
model?: string | null;
type?: string | null;
userAttribute?: string | null;
value?: string | null;
}

§Properties

§
bindingProperties?: ComponentPropertyBindingProperties | null
[src]

The information to bind the component property to data at runtime.

§
bindings?: {
[key: string]: FormBindingElement | null | undefined;
}
| null
[src]

The information to bind the component property to form data.

§
collectionBindingProperties?: ComponentPropertyBindingProperties | null
[src]

The information to bind the component property to data at runtime. Use this for collection components.

§
concat?: ComponentProperty[] | null
[src]

A list of component properties to concatenate to create the value to assign to this component property.

§

The conditional expression to use to assign a value to the component property..

§
configured?: boolean | null
[src]

Specifies whether the user configured the property in Amplify Studio after importing it.

§
defaultValue?: string | null
[src]

The default value to assign to the component property.

§
event?: string | null
[src]

An event that occurs in your app. Use this for workflow data binding.

§
importedValue?: string | null
[src]

The default value assigned to property when the component is imported into an app.

§
model?: string | null
[src]

The data model to use to assign a value to the component property.

§
type?: string | null
[src]

The component type.

§
userAttribute?: string | null
[src]

An authenticated user attribute to use to assign a value to the component property.

§
value?: string | null
[src]

The value to assign to the component property.