Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data ComponentProperty = ComponentProperty' {
- bindingProperties :: Maybe ComponentPropertyBindingProperties
- bindings :: Maybe (HashMap Text FormBindingElement)
- collectionBindingProperties :: Maybe ComponentPropertyBindingProperties
- componentName :: Maybe Text
- concat :: Maybe [ComponentProperty]
- condition :: Maybe ComponentConditionProperty
- configured :: Maybe Bool
- defaultValue :: Maybe Text
- event :: Maybe Text
- importedValue :: Maybe Text
- model :: Maybe Text
- property :: Maybe Text
- type' :: Maybe Text
- userAttribute :: Maybe Text
- value :: Maybe Text
- newComponentProperty :: ComponentProperty
- componentProperty_bindingProperties :: Lens' ComponentProperty (Maybe ComponentPropertyBindingProperties)
- componentProperty_bindings :: Lens' ComponentProperty (Maybe (HashMap Text FormBindingElement))
- componentProperty_collectionBindingProperties :: Lens' ComponentProperty (Maybe ComponentPropertyBindingProperties)
- componentProperty_componentName :: Lens' ComponentProperty (Maybe Text)
- componentProperty_concat :: Lens' ComponentProperty (Maybe [ComponentProperty])
- componentProperty_condition :: Lens' ComponentProperty (Maybe ComponentConditionProperty)
- componentProperty_configured :: Lens' ComponentProperty (Maybe Bool)
- componentProperty_defaultValue :: Lens' ComponentProperty (Maybe Text)
- componentProperty_event :: Lens' ComponentProperty (Maybe Text)
- componentProperty_importedValue :: Lens' ComponentProperty (Maybe Text)
- componentProperty_model :: Lens' ComponentProperty (Maybe Text)
- componentProperty_property :: Lens' ComponentProperty (Maybe Text)
- componentProperty_type :: Lens' ComponentProperty (Maybe Text)
- componentProperty_userAttribute :: Lens' ComponentProperty (Maybe Text)
- componentProperty_value :: Lens' ComponentProperty (Maybe Text)
Documentation
data ComponentProperty Source #
Describes the configuration for all of a component's properties. Use
ComponentProperty
to specify the values to render or bind by default.
See: newComponentProperty
smart constructor.
ComponentProperty' | |
|
Instances
newComponentProperty :: ComponentProperty Source #
Create a value of ComponentProperty
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:bindingProperties:ComponentProperty'
, componentProperty_bindingProperties
- The information to bind the component property to data at runtime.
$sel:bindings:ComponentProperty'
, componentProperty_bindings
- The information to bind the component property to form data.
$sel:collectionBindingProperties:ComponentProperty'
, componentProperty_collectionBindingProperties
- The information to bind the component property to data at runtime. Use
this for collection components.
$sel:componentName:ComponentProperty'
, componentProperty_componentName
- The name of the component that is affected by an event.
$sel:concat:ComponentProperty'
, componentProperty_concat
- A list of component properties to concatenate to create the value to
assign to this component property.
$sel:condition:ComponentProperty'
, componentProperty_condition
- The conditional expression to use to assign a value to the component
property.
$sel:configured:ComponentProperty'
, componentProperty_configured
- Specifies whether the user configured the property in Amplify Studio
after importing it.
$sel:defaultValue:ComponentProperty'
, componentProperty_defaultValue
- The default value to assign to the component property.
$sel:event:ComponentProperty'
, componentProperty_event
- An event that occurs in your app. Use this for workflow data binding.
$sel:importedValue:ComponentProperty'
, componentProperty_importedValue
- The default value assigned to the property when the component is
imported into an app.
$sel:model:ComponentProperty'
, componentProperty_model
- The data model to use to assign a value to the component property.
FormBindingElement
, componentProperty_property
- The name of the component's property that is affected by an event.
$sel:type':ComponentProperty'
, componentProperty_type
- The component type.
$sel:userAttribute:ComponentProperty'
, componentProperty_userAttribute
- An authenticated user attribute to use to assign a value to the
component property.
$sel:value:ComponentProperty'
, componentProperty_value
- The value to assign to the component property.
componentProperty_bindingProperties :: Lens' ComponentProperty (Maybe ComponentPropertyBindingProperties) Source #
The information to bind the component property to data at runtime.
componentProperty_bindings :: Lens' ComponentProperty (Maybe (HashMap Text FormBindingElement)) Source #
The information to bind the component property to form data.
componentProperty_collectionBindingProperties :: Lens' ComponentProperty (Maybe ComponentPropertyBindingProperties) Source #
The information to bind the component property to data at runtime. Use this for collection components.
componentProperty_componentName :: Lens' ComponentProperty (Maybe Text) Source #
The name of the component that is affected by an event.
componentProperty_concat :: Lens' ComponentProperty (Maybe [ComponentProperty]) Source #
A list of component properties to concatenate to create the value to assign to this component property.
componentProperty_condition :: Lens' ComponentProperty (Maybe ComponentConditionProperty) Source #
The conditional expression to use to assign a value to the component property.
componentProperty_configured :: Lens' ComponentProperty (Maybe Bool) Source #
Specifies whether the user configured the property in Amplify Studio after importing it.
componentProperty_defaultValue :: Lens' ComponentProperty (Maybe Text) Source #
The default value to assign to the component property.
componentProperty_event :: Lens' ComponentProperty (Maybe Text) Source #
An event that occurs in your app. Use this for workflow data binding.
componentProperty_importedValue :: Lens' ComponentProperty (Maybe Text) Source #
The default value assigned to the property when the component is imported into an app.
componentProperty_model :: Lens' ComponentProperty (Maybe Text) Source #
The data model to use to assign a value to the component property.
componentProperty_property :: Lens' ComponentProperty (Maybe Text) Source #
The name of the component's property that is affected by an event.
componentProperty_type :: Lens' ComponentProperty (Maybe Text) Source #
The component type.
componentProperty_userAttribute :: Lens' ComponentProperty (Maybe Text) Source #
An authenticated user attribute to use to assign a value to the component property.
componentProperty_value :: Lens' ComponentProperty (Maybe Text) Source #
The value to assign to the component property.