Component:DataFeedItemMapper: Difference between revisions

From Resonite Wiki
basic description
Automated: update DeDuplicate
 
(3 intermediate revisions by 2 users not shown)
Line 10: Line 10:
{{Table ComponentFields
{{Table ComponentFields
|Mappings|{{RootFieldType|SyncList`1|[[#ItemMapping|ItemMapping]]}}|TypeAdv0=true|
|Mappings|{{RootFieldType|SyncList`1|[[#ItemMapping|ItemMapping]]}}|TypeAdv0=true|
}}
== Sync Delegates ==
{{Table ComponentTriggers
|OnSetupTemplate()|[[Type:Delegate|Delegate]]<[[Type:IButton|IButton]]: button, [[Type:ButtonEventData|ButtonEventData]]: data>|
}}
}}


== Behavior ==
== Behavior ==
This component will use the item mappings defined in the Mappings list to match specific [[Type:Type|Types]] of data feed items to corresponding feed item interface templates.


== Examples ==
== Examples ==
Line 21: Line 28:
[[Category:Components{{#translation:}}|Data Feed Item Mapper]]
[[Category:Components{{#translation:}}|Data Feed Item Mapper]]
[[Category:Components With Nested Types{{#translation:}}|Data Feed Item Mapper]]
[[Category:Components With Nested Types{{#translation:}}|Data Feed Item Mapper]]
[[Category:ComponentStubs]]
[[Category:ComponentStubs]]

Latest revision as of 21:18, 6 November 2024

Component image 
Data Feed Item Mapper component as seen in the Scene Inspector


This article or section is a Stub. You can help the Resonite Wiki by expanding it.


The DataFeedItemMapper allows you to define which data feed items map to which UI templates.

Usage

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled.
Mappings list of ItemMapping

Sync Delegates

Triggers
Name Arguments Description
OnSetupTemplate() Delegate<IButton: button, ButtonEventData: data>

Behavior

This component will use the item mappings defined in the Mappings list to match specific Types of data feed items to corresponding feed item interface templates.

Examples

See Also