Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
blocks:app-note:spot-block-list [2025-09-15 09:39] – [How it works] mattias | blocks:app-note:spot-block-list [2025-09-15 10:48] (current) – [How it works] mattias | ||
---|---|---|---|
Line 1: | Line 1: | ||
=====List spots and blocks on a remote control===== | =====List spots and blocks on a remote control===== | ||
- | This application | + | This application |
==== Installation ==== | ==== Installation ==== | ||
Line 43: | Line 43: | ||
{{: | {{: | ||
- | To see the child replication binding, edit the Control/ | + | To view the child replication binding, edit the Control/ |
- | source of the child replication can be seen in the property panel of the scroller. In this case is is bound to the indexed property Script.feed.Spots.Spotgroup1. | + | |
{{: | {{: | ||
===Items in the list=== | ===Items in the list=== | ||
+ | |||
For every item in the indexed property provided by the feed script, a SpotItem child is replicated. This acts as the layout template. | For every item in the indexed property provided by the feed script, a SpotItem child is replicated. This acts as the layout template. | ||
The layout can use various properties relative to the spot and the feed. In this example, it shows the spot name from the feed, and the connection and block property from the spot itself. | The layout can use various properties relative to the spot and the feed. In this example, it shows the spot name from the feed, and the connection and block property from the spot itself. | ||
Line 68: | Line 68: | ||
- | . | + | ====Styling==== |
+ | |||
+ | This Remotecontrol block uses some CSS to style the button appearance and create a custom paragraph text size. | ||
+ | The custom // | ||